Module: GlobalRegistry::Bindings::Options::ClassMethods
- Defined in:
- lib/global_registry_bindings/options.rb
Instance Method Summary collapse
- #global_registry_entity ⇒ Object
- #global_registry_relationship(type) ⇒ Object
- #global_registry_relationship_types ⇒ Object
Instance Method Details
#global_registry_entity ⇒ Object
35 36 37 |
# File 'lib/global_registry_bindings/options.rb', line 35 def global_registry_entity end |
#global_registry_relationship(type) ⇒ Object
39 40 41 42 |
# File 'lib/global_registry_bindings/options.rb', line 39 def global_registry_relationship(type) _global_registry_bindings_class_relationships[type] ||= GlobalRegistry::Bindings::Options::RelationshipClassOptions.new(type, self) end |
#global_registry_relationship_types ⇒ Object
44 45 46 |
# File 'lib/global_registry_bindings/options.rb', line 44 def global_registry_relationship_types [:relationships].keys end |