Method: Cod::SelectGroup#unpack
- Defined in:
- lib/cod/select_group.rb
#unpack ⇒ Object
Converts this to a result value. If this instance was constructed with a simple ruby object, return the object. Otherwise return the resulting hash.
67 68 69 70 71 72 73 |
# File 'lib/cod/select_group.rb', line 67 def unpack if @unpack @h[:box] else @h end end |