class ReadXls::Evaluator::ExtendedFormat
Attributes
builder[RW]
format_index[RW]
Public Class Methods
new(options)
click to toggle source
# File lib/read_xls/evaluator/extended_format.rb, line 6 def initialize(options) self.builder = options.fetch(:builder) self.format_index = options.fetch(:format_index) end
Public Instance Methods
evaluate()
click to toggle source
# File lib/read_xls/evaluator/extended_format.rb, line 11 def evaluate format_string = builder.formats[format_index] ::ReadXls::Type::ExtendedFormat.new( :format_string => format_string ) end