Class: ActiveRecord::Migration::ReversibleBlockHelper
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - ActiveRecord::Migration::ReversibleBlockHelper
 
 
- Defined in:
 - lib/active_record/migration.rb
 
Overview
:nodoc:
Instance Attribute Summary collapse
- 
  
    
      #reverting  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute reverting.
 
Instance Method Summary collapse
Instance Attribute Details
#reverting ⇒ Object
Returns the value of attribute reverting
      711 712 713  | 
    
      # File 'lib/active_record/migration.rb', line 711 def reverting @reverting end  | 
  
Instance Method Details
#down ⇒ Object
      716 717 718  | 
    
      # File 'lib/active_record/migration.rb', line 716 def down yield if reverting end  | 
  
#up ⇒ Object
      712 713 714  | 
    
      # File 'lib/active_record/migration.rb', line 712 def up yield unless reverting end  |