Sha256: ca1fe3723380167e6d746469649a9dab6c0bf32ba399efcf97b7694bb961b149

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

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