Class: SamFront::Boostraper

Inherits:
Object
  • Object
show all
Defined in:
lib/jenga/boostraper.rb

Instance Method Summary collapse

Constructor Details

#initialize(arr) ⇒ Boostraper

Returns a new instance of Boostraper.



15
16
17
18
# File 'lib/jenga/boostraper.rb', line 15

def initialize arr
  @hash = arr
  not_a_hash if not arr.is_a? Array
end

Instance Method Details

#get_firstObject



20
21
22
# File 'lib/jenga/boostraper.rb', line 20

def get_first
  set_chain
end