Sha256: 82a4182810197280be47a64457f863ee710e0c5cc9445e954ee9a8030dfaba18

Contents?: true

Size: 217 Bytes

Versions: 16

Compression:

Stored size: 217 Bytes

Contents

require 'fiona7/attribute_readers/attribute_reader'

module Fiona7
  module AttributeReaders
    class NumberAsString < AttributeReader
      def call
        self.obj[self.attr_name].to_f
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
infopark_fiona7-1.2.0.2.3 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.2.0.2.1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.2.0.2.2 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.5.5.1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.5.5.0 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.2.0.1.4 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.5.4.1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.5.4.0 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.2.0.1.3 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.5.3.1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.4.3.0 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.3.2.0 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.3.2.0.pre.beta1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.2.1.0.pre.beta1 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.5.2.0.0 lib/fiona7/attribute_readers/number_as_string.rb
infopark_fiona7-1.2.0.1.1 lib/fiona7/attribute_readers/number_as_string.rb