Module: XlsFunction::TransformRules::NumberTransform
- Included in:
- XlsFunction::Transform
- Defined in:
- lib/xls_function/transform_rules/number_transform.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
4 5 6 7 8 |
# File 'lib/xls_function/transform_rules/number_transform.rb', line 4 def self.included(klass) klass.class_eval do rule(number: simple(:number)) { |context| ::XlsFunction::Evaluators::NumberEvaluator.new(context[:number], context) } end end |