Class: CustomSeeds::SeedList::Item
- Inherits:
-
Object
- Object
- CustomSeeds::SeedList::Item
- Defined in:
- lib/custom_seeds/seed_list.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(filename, name) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(filename, name) ⇒ Item
10 11 12 13 |
# File 'lib/custom_seeds/seed_list.rb', line 10 def initialize(filename, name) @filename = filename @name = name end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
8 9 10 |
# File 'lib/custom_seeds/seed_list.rb', line 8 def filename @filename end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
8 9 10 |
# File 'lib/custom_seeds/seed_list.rb', line 8 def name @name end |