Class: Datafile::WorldDataset
- Defined in:
- lib/datafile/dataset.rb
Instance Attribute Summary
Attributes inherited from Dataset
Instance Method Summary collapse
-
#initialize(name_easy, opts = {}) ⇒ WorldDataset
constructor
A new instance of WorldDataset.
Methods inherited from Dataset
Constructor Details
#initialize(name_easy, opts = {}) ⇒ WorldDataset
Returns a new instance of WorldDataset.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/datafile/dataset.rb', line 37 def initialize( name_easy, opts={} ) ## check if name include slash (e.g. /) ## - if not auto-add openmundi/ (default) if name_easy.index( '/' ).nil? name = "openmundi/#{name_easy}" else name = name_easy ## just pass through for now end super( name, opts ) ## todo/check: just juse super (e.g. pass along all params - why? why not?) end |