Class: ParseArgs::Receiver
- Includes:
- Util
- Defined in:
- lib/parseargs.rb,
lib/parseargs-0.3.0.rb
Overview
class Parser
Instance Attribute Summary collapse
-
#arguments ⇒ Object
(also: #args)
Returns the value of attribute arguments.
-
#keywords ⇒ Object
(also: #kws)
Returns the value of attribute keywords.
Instance Method Summary collapse
Methods included from Util
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *a, &b) ⇒ Object
383 384 385 386 387 388 |
# File 'lib/parseargs.rb', line 383 def method_missing(m, *a, &b) #--{{{ return(get_kw(m)) if has_kw? m super #--}}} end |
Instance Attribute Details
#arguments ⇒ Object Also known as: args
Returns the value of attribute arguments.
379 380 381 |
# File 'lib/parseargs.rb', line 379 def arguments @arguments end |
#keywords ⇒ Object Also known as: kws
Returns the value of attribute keywords.
381 382 383 |
# File 'lib/parseargs.rb', line 381 def keywords @keywords end |