Class: Acorn::Data

Inherits:
Object
  • Object
show all
Defined in:
lib/acorn/data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeData

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_classObject

Returns the value of attribute ar_class.



3
4
5
# File 'lib/acorn/data.rb', line 3

def ar_class
  @ar_class
end

#attr_namesObject

Returns the value of attribute attr_names.



3
4
5
# File 'lib/acorn/data.rb', line 3

def attr_names
  @attr_names
end

#dir_nameObject

Returns the value of attribute dir_name.



3
4
5
# File 'lib/acorn/data.rb', line 3

def dir_name
  @dir_name
end

#seed_namesObject

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

#processObject



8
9
10
# File 'lib/acorn/data.rb', line 8

def process
  DataProcessor.new(self).process
end