Class: NumRu::GPhys::Grib::GribES
- Inherits:
-
Object
- Object
- NumRu::GPhys::Grib::GribES
- Defined in:
- lib/numru/gphys/grib.rb
Overview
end definition of class GribBDS
Instance Method Summary collapse
- #get ⇒ Object
- #grib? ⇒ Boolean
-
#initialize(sgm, str = nil) ⇒ GribES
constructor
A new instance of GribES.
- #length ⇒ Object
Constructor Details
#initialize(sgm, str = nil) ⇒ GribES
Returns a new instance of GribES.
1341 1342 1343 1344 |
# File 'lib/numru/gphys/grib.rb', line 1341 def initialize(sgm,str=nil) @sgm = sgm @es = str || "7777" end |
Instance Method Details
#get ⇒ Object
1351 1352 1353 |
# File 'lib/numru/gphys/grib.rb', line 1351 def get @es end |
#grib? ⇒ Boolean
1348 1349 1350 |
# File 'lib/numru/gphys/grib.rb', line 1348 def grib? @es=="7777" end |
#length ⇒ Object
1345 1346 1347 |
# File 'lib/numru/gphys/grib.rb', line 1345 def length return 4 end |