class RainforestRubyRuntime::Variables::Value
Attributes
block[R]
name[R]
Public Class Methods
new(name, &block)
click to toggle source
# File lib/rainforest_ruby_runtime/variables/value.rb, line 6 def initialize(name, &block) @name = name @block = block end
Public Instance Methods
call(*args, &block)
click to toggle source
# File lib/rainforest_ruby_runtime/variables/value.rb, line 11 def call(*args, &block) @block.call *args, &block end