Module: XlsFunction::TransformRules::VariantTransform
- Included in:
- XlsFunction::Transform
- Defined in:
- lib/xls_function/transform_rules/variant_transform.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/xls_function/transform_rules/variant_transform.rb', line 4 def self.included(klass) klass.class_eval do rule(variant: simple(:name)) do |context| ::XlsFunction::Evaluators::VariantEvaluator.new(context[:name], context) end end end |