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.
1336 1337 1338 1339 |
# File 'lib/numru/gphys/grib.rb', line 1336 def initialize(sgm,str=nil) @sgm = sgm @es = str || "7777" end |
Instance Method Details
#get ⇒ Object
1346 1347 1348 |
# File 'lib/numru/gphys/grib.rb', line 1346 def get @es end |
#grib? ⇒ Boolean
1343 1344 1345 |
# File 'lib/numru/gphys/grib.rb', line 1343 def grib? @es=="7777" end |
#length ⇒ Object
1340 1341 1342 |
# File 'lib/numru/gphys/grib.rb', line 1340 def length return 4 end |