Sha256: 4e612c2af038bb5902c78031e0726c0800d9b85ff417a3ad98bb44836e1b1fff

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module PR
  module Fields
    class StringField

      def initialize value = ''
        @value = value
      end

      def raw
        @value
      end

      def populate value
        @value = value
      end

      def convert
        @value.to_s
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pr-0.0.1 lib/pr/fields/string_field.rb