Method: Consoler::Options#each
- Defined in:
- lib/consoler/options.rb
#each {|Consoler::Option, Integer| ... } ⇒ Consoler::Options
Loop through all options
83 84 85 86 87 88 89 |
# File 'lib/consoler/options.rb', line 83 def each .each_with_index do |option, i| yield option, i end self end |