Sha256: d1dce8e346406051b57c7f2e0d6783bfd03769a2932e30ed5327c92958c3f35d

Contents?: true

Size: 221 Bytes

Versions: 6

Compression:

Stored size: 221 Bytes

Contents

require 'active_model/type'

module ActForm
  module Type
    class Object < ActiveModel::Type::Value
      def type
        :object
      end
    end
  end
end

ActiveModel::Type.register(:object, ActForm::Type::Object)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
act_form-0.4.1 lib/act_form/type.rb
act_form-0.4.0 lib/act_form/type.rb
act_form-0.3.2 lib/act_form/type.rb
act_form-0.3.1 lib/act_form/type.rb
act_form-0.3.0 lib/act_form/type.rb
act_form-0.2.0 lib/act_form/type.rb