Class: Lisp::Format::Parameters::ArgumentCount
- Defined in:
- lib/carat/lisp-format.rb
Overview
Represents the #
parameter, which retrieves the number of arguments left to process.
Instance Attribute Summary
Attributes inherited from Parameter
Instance Method Summary collapse
-
#value(state, default) ⇒ Object
Retrieve this parameters value by getting the number of arguments left to process.
Methods inherited from Parameter
Constructor Details
This class inherits a constructor from Lisp::Format::Parameters::Parameter
Instance Method Details
#value(state, default) ⇒ Object
Retrieve this parameters value by getting the number of arguments left to process.
474 475 476 |
# File 'lib/carat/lisp-format.rb', line 474 def value(state, default) state.args_left end |