Class: TaxonReporter::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/taxon_reporter/record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fieldObject (readonly)

Returns the value of attribute field.



5
6
7
# File 'lib/taxon_reporter/record.rb', line 5

def field
  @field
end

#valuesObject (readonly)

Returns the value of attribute values.



6
7
8
# File 'lib/taxon_reporter/record.rb', line 6

def values
  @values
end