Class: Curry::AntiSpiceArg
- Includes:
- Singleton
- Defined in:
- lib/curry.rb
Overview
:nodoc: all
Instance Method Summary collapse
-
#initialize ⇒ AntiSpiceArg
constructor
A new instance of AntiSpiceArg.
- #spice_arg(args_remain) ⇒ Object
Methods inherited from SpiceArg
Constructor Details
#initialize ⇒ AntiSpiceArg
Returns a new instance of AntiSpiceArg.
108 |
# File 'lib/curry.rb', line 108 def initialize; super("ANTISPICE"); end |
Instance Method Details
#spice_arg(args_remain) ⇒ Object
109 110 111 112 |
# File 'lib/curry.rb', line 109 def spice_arg(args_remain) args_remain.shift [] end |