Method: BinData::Choice#selection
- Defined in:
- lib/bindata/choice.rb
#selection ⇒ Object
Returns the current selection.
80 81 82 83 84 85 86 |
# File 'lib/bindata/choice.rb', line 80 def selection selection = eval_parameter(:selection) if selection.nil? raise IndexError, ":selection returned nil for #{debug_name}" end selection end |