Class: Geoptima::Config
- Inherits:
-
Object
- Object
- Geoptima::Config
- Defined in:
- lib/geoptima/data.rb
Constant Summary collapse
- DEFAULT =
{:min_datetime => MIN_DATETIME, :max_datetime => MAX_DATETIME}
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
34 35 36 |
# File 'lib/geoptima/data.rb', line 34 def self.[](key) [key] end |
.[]=(key, value) ⇒ Object
37 38 39 |
# File 'lib/geoptima/data.rb', line 37 def self.[]=(key,value) [key] = value end |
.config(options = {}) ⇒ Object
28 29 30 |
# File 'lib/geoptima/data.rb', line 28 def self.config(={}) = ( || DEFAULT).merge() end |
.options ⇒ Object
31 32 33 |
# File 'lib/geoptima/data.rb', line 31 def self. ||= DEFAULT end |