Class: Guise::HasGuisesBuilder Private
- Inherits:
-
Object
- Object
- Guise::HasGuisesBuilder
- Defined in:
- lib/guise/builders.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #build! ⇒ Object private
-
#initialize(options) ⇒ HasGuisesBuilder
constructor
private
A new instance of HasGuisesBuilder.
Constructor Details
#initialize(options) ⇒ HasGuisesBuilder
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of HasGuisesBuilder.
6 7 8 |
# File 'lib/guise/builders.rb', line 6 def initialize() @options = end |
Instance Method Details
#build! ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/guise/builders.rb', line 10 def build! define_association! define_scopes! if @options. != DEFAULT_ASSOCIATION_NAME define_association_aliases! end define_introspection_aliases! end |