Sha256: fb6969c8f2300fdd08ab67b817792493cc855f44ee19352f6cd7581a4cc36e9b

Contents?: true

Size: 294 Bytes

Versions: 15

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module Meibo
  class Builder
    module BaseBuilder
      def create(klass)
        builder_klass = Class.new(klass)
        builder_klass.prepend(self)
        builder_klass.attr_reader(*builder_attribute_names)
        builder_klass
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
meibo-0.27.1 lib/meibo/builder/base_builder.rb
meibo-0.27.0 lib/meibo/builder/base_builder.rb
meibo-0.26.0 lib/meibo/builder/base_builder.rb
meibo-0.25.3 lib/meibo/builder/base_builder.rb
meibo-0.25.2 lib/meibo/builder/base_builder.rb
meibo-0.25.1 lib/meibo/builder/base_builder.rb
meibo-0.25.0 lib/meibo/builder/base_builder.rb
meibo-0.24.0 lib/meibo/builder/base_builder.rb
meibo-0.23.0 lib/meibo/builder/base_builder.rb
meibo-0.22.0 lib/meibo/builder/base_builder.rb
meibo-0.21.0 lib/meibo/builder/base_builder.rb
meibo-0.20.0 lib/meibo/builder/base_builder.rb
meibo-0.19.0 lib/meibo/builder/base_builder.rb
meibo-0.18.0 lib/meibo/builder/base_builder.rb
meibo-0.17.0 lib/meibo/builder/base_builder.rb