Class: Lab42::Function::Placeholder
- Inherits:
-
Object
- Object
- Lab42::Function::Placeholder
- Defined in:
- lib/lab42/function/placeholder.rb
Instance Attribute Summary collapse
-
#arg_number ⇒ Object
readonly
Returns the value of attribute arg_number.
Class Method Summary collapse
Instance Attribute Details
#arg_number ⇒ Object (readonly)
Returns the value of attribute arg_number.
25 26 27 |
# File 'lib/lab42/function/placeholder.rb', line 25 def arg_number @arg_number end |
Class Method Details
.make(n) ⇒ Object
6 7 8 |
# File 'lib/lab42/function/placeholder.rb', line 6 def make n return cache.fetch(n){ cache[n] = new(n) } end |