Class: Duststorm::Base
- Inherits:
-
Object
- Object
- Duststorm::Base
- Defined in:
- lib/duststorm/base.rb
Instance Attribute Summary collapse
-
#lat ⇒ Object
readonly
Returns the value of attribute lat.
-
#lng ⇒ Object
readonly
Returns the value of attribute lng.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #forecast ⇒ Object
-
#initialize(lat, lng, options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(lat, lng, options = {}) ⇒ Base
Returns a new instance of Base.
5 6 7 8 9 |
# File 'lib/duststorm/base.rb', line 5 def initialize(lat, lng, ={}) @lat = lat @lng = lng @options = end |
Instance Attribute Details
#lat ⇒ Object (readonly)
Returns the value of attribute lat.
3 4 5 |
# File 'lib/duststorm/base.rb', line 3 def lat @lat end |
#lng ⇒ Object (readonly)
Returns the value of attribute lng.
3 4 5 |
# File 'lib/duststorm/base.rb', line 3 def lng @lng end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/duststorm/base.rb', line 3 def @options end |