Class: ActiveFedora::Associations::Builder::SingularProperty
- Inherits:
-
Property
- Object
- Association
- Property
- ActiveFedora::Associations::Builder::SingularProperty
- Defined in:
- lib/active_fedora/associations/builder/singular_property.rb
Instance Attribute Summary
Attributes inherited from Association
#inversed, #owner, #reflection, #target
Class Method Summary collapse
Methods inherited from Property
Methods inherited from Association
#association_scope, #initialize, #initialize_attributes, #load_target, #loaded!, #loaded?, #reload, #reset, #reset_scope, #scope, #set_inverse_instance, #stale_target?, #target_scope
Constructor Details
This class inherits a constructor from ActiveFedora::Associations::Association
Class Method Details
.better_name(name) ⇒ Object
7 8 9 |
# File 'lib/active_fedora/associations/builder/singular_property.rb', line 7 def self.better_name(name) :"#{name}_id" end |
.macro ⇒ Object
3 4 5 |
# File 'lib/active_fedora/associations/builder/singular_property.rb', line 3 def self.macro :singular_rdf end |