Class: Activecube::Modifier
- Inherits:
 - 
      Object
      
        
- Object
 - Activecube::Modifier
 
 
- Defined in:
 - lib/activecube/modifier.rb
 
Instance Attribute Summary collapse
- 
  
    
      #definition  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute definition.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(*args)  ⇒ Modifier 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Modifier.
 
Constructor Details
#initialize(*args) ⇒ Modifier
Returns a new instance of Modifier.
      5 6 7 8  | 
    
      # File 'lib/activecube/modifier.rb', line 5 def initialize *args @name = args.first @definition = args.second end  | 
  
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
      4 5 6  | 
    
      # File 'lib/activecube/modifier.rb', line 4 def definition @definition end  | 
  
#name ⇒ Object (readonly)
Returns the value of attribute name.
      4 5 6  | 
    
      # File 'lib/activecube/modifier.rb', line 4 def name @name end  |