Class: SimpleHotFolder::HotFolder::Entry

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_hot_folder/hot_folder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



68
69
70
# File 'lib/simple_hot_folder/hot_folder.rb', line 68

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path.



69
70
71
# File 'lib/simple_hot_folder/hot_folder.rb', line 69

def path
  @path
end