Class: Gribr::Wgrib::InventoryRecord
- Inherits:
-
Struct
- Object
- Struct
- Gribr::Wgrib::InventoryRecord
- Includes:
- RegexpParser
- Defined in:
- lib/gribr/wgrib/inventory_record.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#average ⇒ Object
Returns the value of attribute average.
-
#element ⇒ Object
Returns the value of attribute element.
-
#end_position ⇒ Object
Returns the value of attribute end_position.
-
#level ⇒ Object
Returns the value of attribute level.
-
#number ⇒ Object
Returns the value of attribute number.
-
#projection ⇒ Object
Returns the value of attribute projection.
-
#reference_time ⇒ Object
Returns the value of attribute reference_time.
-
#start_position ⇒ Object
Returns the value of attribute start_position.
-
#valid_time ⇒ Object
Returns the value of attribute valid_time.
Instance Method Summary collapse
Methods included from RegexpParser
Instance Attribute Details
#average ⇒ Object
Returns the value of attribute average
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def average @average end |
#element ⇒ Object
Returns the value of attribute element
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def element @element end |
#end_position ⇒ Object
Returns the value of attribute end_position
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def end_position @end_position end |
#level ⇒ Object
Returns the value of attribute level
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def level @level end |
#number ⇒ Object
Returns the value of attribute number
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def number @number end |
#projection ⇒ Object
Returns the value of attribute projection
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def projection @projection end |
#reference_time ⇒ Object
Returns the value of attribute reference_time
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def reference_time @reference_time end |
#start_position ⇒ Object
Returns the value of attribute start_position
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def start_position @start_position end |
#valid_time ⇒ Object
Returns the value of attribute valid_time
6 7 8 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 6 def valid_time @valid_time end |
Instance Method Details
#end_position_of_previous ⇒ Object
10 11 12 |
# File 'lib/gribr/wgrib/inventory_record.rb', line 10 def end_position_of_previous start_position - 1 if number > 1 end |