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.
1352 1353 1354 1355 |
# File 'lib/numru/gphys/grib.rb', line 1352 def initialize(sgm,str=nil) @sgm = sgm @es = str || "7777" end |
Instance Method Details
#get ⇒ Object
1362 1363 1364 |
# File 'lib/numru/gphys/grib.rb', line 1362 def get @es end |
#grib? ⇒ Boolean
1359 1360 1361 |
# File 'lib/numru/gphys/grib.rb', line 1359 def grib? @es=="7777" end |
#length ⇒ Object
1356 1357 1358 |
# File 'lib/numru/gphys/grib.rb', line 1356 def length return 4 end |