class Lopata::ScenarioBuilder::CalculatedValue

@private

Public Class Methods

new(&block) click to toggle source
# File lib/lopata/scenario_builder.rb, line 440
def initialize(&block)
  @proc = block
end

Public Instance Methods

calculate(option_set) click to toggle source
# File lib/lopata/scenario_builder.rb, line 444
def calculate(option_set)
  @proc.call(option_set)
end