Class: FlightCaster::Rash
- Inherits:
-
Object
- Object
- FlightCaster::Rash
- Extended by:
- Forwardable
- Defined in:
- lib/flightcaster/rash.rb
Instance Attribute Summary collapse
-
#array ⇒ Object
Returns the value of attribute array.
-
#hash ⇒ Object
Returns the value of attribute hash.
Instance Method Summary collapse
-
#initialize(h) ⇒ Rash
constructor
A new instance of Rash.
Constructor Details
#initialize(h) ⇒ Rash
Returns a new instance of Rash.
7 8 9 10 11 |
# File 'lib/flightcaster/rash.rb', line 7 def initialize(h) @array = [] @hash = h split_into_rash end |
Instance Attribute Details
#array ⇒ Object
Returns the value of attribute array.
5 6 7 |
# File 'lib/flightcaster/rash.rb', line 5 def array @array end |
#hash ⇒ Object
Returns the value of attribute hash.
5 6 7 |
# File 'lib/flightcaster/rash.rb', line 5 def hash @hash end |