Class: SamFront::Boostraper
- Inherits:
-
Object
- Object
- SamFront::Boostraper
- Defined in:
- lib/jenga/boostraper.rb
Instance Method Summary collapse
- #get_first ⇒ Object
-
#initialize(arr) ⇒ Boostraper
constructor
A new instance of Boostraper.
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_first ⇒ Object
20 21 22 |
# File 'lib/jenga/boostraper.rb', line 20 def get_first set_chain end |