Sha256: e2e7e3b21807ecc3a98db7dce9ca37a44e502fa07d0ef1b689788c82992c1af9

Contents?: true

Size: 189 Bytes

Versions: 3

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

module Hahamut
  module Attribute
    # Integer Type
    class Integer < Base
      def value
        @value ||= before_cast.to_i
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hahamut-0.1.2 lib/hahamut/attribute/integer.rb
hahamut-0.1.1 lib/hahamut/attribute/integer.rb
hahamut-0.1.0 lib/hahamut/attribute/integer.rb