lib/tap/support/parser.rb in bahuvrihi-tap-0.11.2 vs lib/tap/support/parser.rb in bahuvrihi-tap-0.12.0
- old
+ new
@@ -232,10 +232,10 @@
# Parses an options string into a hash. The input corresponds
# to $3 in a SEQUENCE or bracket_regexp match. Raises an error
# if the options string contains unknown options.
#
# parse_options("") # => {}
- # parse_options("is") # => {:iterate => true, :stack => true}
+ # parse_options("ik") # => {:iterate => true, :stack => true}
#
def parse_options(three)
options = {}
0.upto(three.length - 1) do |char_index|
char = three[char_index, 1]
\ No newline at end of file