Sha256: 8b20e4a4558907d831cf3553f2964a7d68cd1989c7413fe51baedb7a758dfc9b

Contents?: true

Size: 269 Bytes

Versions: 16

Compression:

Stored size: 269 Bytes

Contents

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
meibo-0.16.0 lib/meibo/builder/base_builder.rb
meibo-0.15.0 lib/meibo/builder/base_builder.rb
meibo-0.14.0 lib/meibo/builder/base_builder.rb
meibo-0.13.0 lib/meibo/builder/base_builder.rb
meibo-0.12.0 lib/meibo/builder/base_builder.rb
meibo-0.11.0 lib/meibo/builder/base_builder.rb
meibo-0.10.0 lib/meibo/builder/base_builder.rb
meibo-0.9.0 lib/meibo/builder/base_builder.rb
meibo-0.8.0 lib/meibo/builder/base_builder.rb
meibo-0.7.0 lib/meibo/builder/base_builder.rb
meibo-0.6.0 lib/meibo/builder/base_builder.rb
meibo-0.5.0 lib/meibo/builder/base_builder.rb
meibo-0.4.0 lib/meibo/builder/base_builder.rb
meibo-0.3.0 lib/meibo/builder/base_builder.rb
meibo-0.2.0 lib/meibo/builder/base_builder.rb
meibo-0.1.0 lib/meibo/builder/base_builder.rb