Class: Arguments::PermissiveRubyParser
- Inherits:
-
RubyParser
- Object
- RubyParser
- Arguments::PermissiveRubyParser
- Defined in:
- lib/arguments/vm.rb
Instance Method Summary collapse
Instance Method Details
#on_error(t, val, vstack) ⇒ Object
6 7 8 |
# File 'lib/arguments/vm.rb', line 6 def on_error t, val, vstack @rescue = vstack.first end |
#parse(str, file = "(string)") ⇒ Object
10 11 12 |
# File 'lib/arguments/vm.rb', line 10 def parse str, file = "(string)" super || @rescue end |