Method: Lisp::ClassObject#with_value
- Defined in:
- lib/rubylisp/class_object.rb
#with_value(&block) ⇒ Object
21 22 23 |
# File 'lib/rubylisp/class_object.rb', line 21 def with_value(&block) block.call(@value) end |
21 22 23 |
# File 'lib/rubylisp/class_object.rb', line 21 def with_value(&block) block.call(@value) end |