Class: OptionTest
- Defined in:
- lib/slop-2.3.1/test/option_test.rb
Instance Method Summary collapse
- #option(*args, &block) ⇒ Object
- #option_value(*args, &block) ⇒ Object
- #option_with_argument(*args, &block) ⇒ Object
Methods inherited from TestCase
Instance Method Details
#option(*args, &block) ⇒ Object
4 5 6 |
# File 'lib/slop-2.3.1/test/option_test.rb', line 4 def option(*args, &block) Slop.new.option(*args, &block) end |
#option_value(*args, &block) ⇒ Object
16 17 18 |
# File 'lib/slop-2.3.1/test/option_test.rb', line 16 def option_value(*args, &block) option_with_argument(*args, &block).argument_value end |