Module: Meibo::Builder::BaseBuilder
- Included in:
- AcademicSessionBuilder, ClassroomBuilder, CourseBuilder, DemographicBuilder, EnrollmentBuilder, OrganizationBuilder, RoleBuilder, UserBuilder, UserProfileBuilder
- Defined in:
- lib/meibo/builder/base_builder.rb
Instance Method Summary collapse
Instance Method Details
#create(klass) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/meibo/builder/base_builder.rb', line 6 def create(klass) builder_klass = Class.new(klass) builder_klass.prepend(self) builder_klass.attr_reader(*builder_attribute_names) builder_klass end |