Sha256: 741f1a01fe2b0a463a33b69fb2508c09ffcd7c51da96413461b75ddc2b70bbfd

Contents?: true

Size: 340 Bytes

Versions: 35

Compression:

Stored size: 340 Bytes

Contents

module Document
  module AttributeInitializer
    class Base
      attr_reader :klass, :name, :type, :options

      def initialize(klass, name, type, options)
        @klass = klass
        @name = name
        @type = type
        @options = options
      end

      def call
        yield name, type, options
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
renalware-core-2.0.16 lib/document/attribute_initializer/base.rb
renalware-core-2.0.15 lib/document/attribute_initializer/base.rb
renalware-core-2.0.14 lib/document/attribute_initializer/base.rb
renalware-core-2.0.13 lib/document/attribute_initializer/base.rb
renalware-core-2.0.12 lib/document/attribute_initializer/base.rb
renalware-core-2.0.11 lib/document/attribute_initializer/base.rb
renalware-core-2.0.9 lib/document/attribute_initializer/base.rb
renalware-core-2.0.8 lib/document/attribute_initializer/base.rb
renalware-core-2.0.7 lib/document/attribute_initializer/base.rb
renalware-core-2.0.5 lib/document/attribute_initializer/base.rb
renalware-core-2.0.4 lib/document/attribute_initializer/base.rb
renalware-core-2.0.3 lib/document/attribute_initializer/base.rb
renalware-core-2.0.2 lib/document/attribute_initializer/base.rb
renalware-core-2.0.1 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0.pre.rc13 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0.pre.rc11 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0.pre.rc10 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0.pre.rc9 lib/document/attribute_initializer/base.rb
renalware-core-2.0.0.pre.rc8 lib/document/attribute_initializer/base.rb