Class: CLabs::CaseGen::Set
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, data_array) ⇒ Set
constructor
A new instance of Set.
- #strip_data ⇒ Object
- #values ⇒ Object
Constructor Details
#initialize(name, data_array) ⇒ Set
Returns a new instance of Set.
16 17 18 19 20 |
# File 'lib/agents/sets.rb', line 16 def initialize(name, data_array) @name = name @data = data_array strip_data end |