Class: Acorn::Data
- Inherits:
-
Object
- Object
- Acorn::Data
- Defined in:
- lib/acorn/data.rb
Instance Attribute Summary collapse
-
#ar_class ⇒ Object
Returns the value of attribute ar_class.
-
#attr_names ⇒ Object
Returns the value of attribute attr_names.
-
#dir_name ⇒ Object
Returns the value of attribute dir_name.
-
#seed_names ⇒ Object
Returns the value of attribute seed_names.
Instance Method Summary collapse
-
#initialize ⇒ Data
constructor
A new instance of Data.
- #process ⇒ Object
Constructor Details
#initialize ⇒ Data
Returns a new instance of Data.
4 5 6 7 |
# File 'lib/acorn/data.rb', line 4 def initialize self.seed_names = [] self.attr_names = [] end |
Instance Attribute Details
#ar_class ⇒ Object
Returns the value of attribute ar_class.
3 4 5 |
# File 'lib/acorn/data.rb', line 3 def ar_class @ar_class end |
#attr_names ⇒ Object
Returns the value of attribute attr_names.
3 4 5 |
# File 'lib/acorn/data.rb', line 3 def attr_names @attr_names end |
#dir_name ⇒ Object
Returns the value of attribute dir_name.
3 4 5 |
# File 'lib/acorn/data.rb', line 3 def dir_name @dir_name end |
#seed_names ⇒ Object
Returns the value of attribute seed_names.
3 4 5 |
# File 'lib/acorn/data.rb', line 3 def seed_names @seed_names end |
Instance Method Details
#process ⇒ Object
8 9 10 |
# File 'lib/acorn/data.rb', line 8 def process DataProcessor.new(self).process end |