Class: ActiveFedora::Property
- Inherits:
 - 
      Object
      
        
- Object
 - ActiveFedora::Property
 
 
- Defined in:
 - lib/active_fedora/property.rb
 
Instance Attribute Summary collapse
- 
  
    
      #instance_variable_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute instance_variable_name.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 
Instance Method Summary collapse
- #field ⇒ Object
 - 
  
    
      #initialize(_model, name, _type, _options = {})  ⇒ Property 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Property.
 
Constructor Details
#initialize(_model, name, _type, _options = {}) ⇒ Property
Returns a new instance of Property.
      5 6 7 8  | 
    
      # File 'lib/active_fedora/property.rb', line 5 def initialize(_model, name, _type, = {}) @name = name @instance_variable_name = "@#{@name}" end  | 
  
Instance Attribute Details
#instance_variable_name ⇒ Object
Returns the value of attribute instance_variable_name.
      3 4 5  | 
    
      # File 'lib/active_fedora/property.rb', line 3 def instance_variable_name @instance_variable_name end  | 
  
#name ⇒ Object
Returns the value of attribute name.
      3 4 5  | 
    
      # File 'lib/active_fedora/property.rb', line 3 def name @name end  | 
  
Instance Method Details
#field ⇒ Object
      10  | 
    
      # File 'lib/active_fedora/property.rb', line 10 def field; end  |