Sha256: ceadd8ad2a08d8d78f93608b4a6de1a7c4603082cb9d34f5b2638c979c117406

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

module Kanade
  class FieldInfo
    # Set the value of this field. Might
    # be type casted
    def convert(term)
      converter.deserialize(term, self)
    end

    attr_accessor :converter
    attr_accessor :sym
    attr_accessor :key_json
    attr_accessor :key_ruby
    attr_accessor :options
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kanade-0.1.1 lib/kanade/field_info.rb
kanade-0.1.0 lib/kanade/field_info.rb
kanade-0.1.0.beta2 lib/kanade/field_info.rb
kanade-0.1.0.beta1 lib/kanade/field_info.rb