Class: SimpleHotFolder::HotFolder::Entry
- Inherits:
-
Object
- Object
- SimpleHotFolder::HotFolder::Entry
- Defined in:
- lib/simple_hot_folder/hot_folder.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(name, path) ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
#initialize(name, path) ⇒ Entry
Returns a new instance of Entry.
70 71 72 73 |
# File 'lib/simple_hot_folder/hot_folder.rb', line 70 def initialize(name, path) @name = name @path = path end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
68 69 70 |
# File 'lib/simple_hot_folder/hot_folder.rb', line 68 def name @name end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
69 70 71 |
# File 'lib/simple_hot_folder/hot_folder.rb', line 69 def path @path end |