Sha256: 234e1f9e08b0c8be8d84f975d17019fc333150099c282e8832c9cfb9600472fe
Contents?: true
Size: 835 Bytes
Versions: 3
Compression:
Stored size: 835 Bytes
Contents
require 'kangaroo/model/attributes' module Kangaroo module Model class Field include Attributes attr_accessor :name define_multiple_accessors :change_default, :context, :digits, :domain, :fnct_inv, :fnct_inv_arg, :fnct_search, :func_method, :func_obj, :function, :help, :invisible, :readonly, :related_columns, :relation, :required, :select, :selectable, :selection, :size, :states, :store, :string, :third_table, :translate, :type def initialize name, attributes = {} @attributes = {} @name = name attributes.each do |key, val| write_attribute key, val end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kangaroo-0.0.3 | lib/kangaroo/model/field.rb |
kangaroo-0.0.2 | lib/kangaroo/model/field.rb |
kangaroo-0.0.1.pre2 | lib/kangaroo/model/field.rb |