Class: FileWatch::InodeStruct
- Inherits:
-
Struct
- Object
- Struct
- FileWatch::InodeStruct
- Defined in:
- lib/filewatch/bootstrap.rb
Overview
Structs can be used as hash keys because they compare by value this is used as the key for values in the sincedb hash
Instance Attribute Summary collapse
-
#inode ⇒ Object
Returns the value of attribute inode.
-
#maj ⇒ Object
Returns the value of attribute maj.
-
#min ⇒ Object
Returns the value of attribute min.
Instance Method Summary collapse
Instance Attribute Details
#inode ⇒ Object
Returns the value of attribute inode
38 39 40 |
# File 'lib/filewatch/bootstrap.rb', line 38 def inode @inode end |
#maj ⇒ Object
Returns the value of attribute maj
38 39 40 |
# File 'lib/filewatch/bootstrap.rb', line 38 def maj @maj end |
#min ⇒ Object
Returns the value of attribute min
38 39 40 |
# File 'lib/filewatch/bootstrap.rb', line 38 def min @min end |
Instance Method Details
#to_s ⇒ Object
39 40 41 |
# File 'lib/filewatch/bootstrap.rb', line 39 def to_s to_a.join(" ") end |