Class: ParseArgs::Receiver
- Includes:
- Util
- Defined in:
- lib/parseargs.rb,
lib/parseargs-0.2.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
391 392 393 394 395 396 |
# File 'lib/parseargs.rb', line 391 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.
387 388 389 |
# File 'lib/parseargs.rb', line 387 def arguments @arguments end |
#keywords ⇒ Object Also known as: kws
Returns the value of attribute keywords.
389 390 391 |
# File 'lib/parseargs.rb', line 389 def keywords @keywords end |