Class: FlightCaster::Rash

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/flightcaster/rash.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#arrayObject

Returns the value of attribute array.



5
6
7
# File 'lib/flightcaster/rash.rb', line 5

def array
  @array
end

#hashObject

Returns the value of attribute hash.



5
6
7
# File 'lib/flightcaster/rash.rb', line 5

def hash
  @hash
end