Class: TaxonReporter::Record
- Inherits:
-
Object
- Object
- TaxonReporter::Record
- Defined in:
- lib/taxon_reporter/record.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(field, values) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(field, values) ⇒ Record
Returns a new instance of Record.
8 9 10 11 |
# File 'lib/taxon_reporter/record.rb', line 8 def initialize(field, values) @field = field @values = values end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
5 6 7 |
# File 'lib/taxon_reporter/record.rb', line 5 def field @field end |
#values ⇒ Object (readonly)
Returns the value of attribute values.
6 7 8 |
# File 'lib/taxon_reporter/record.rb', line 6 def values @values end |