Module: Handcuffs::Extensions

Defined in:
lib/handcuffs/extensions.rb

Overview

Extended by ActiveRecord::Migrator in order to track the current phase

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#handcuffs_phaseObject

Returns the value of attribute handcuffs_phase.



6
7
8
# File 'lib/handcuffs/extensions.rb', line 6

def handcuffs_phase
  @handcuffs_phase
end

Instance Method Details

#phase(phase) ⇒ Object



8
9
10
# File 'lib/handcuffs/extensions.rb', line 8

def phase(phase)
  @handcuffs_phase = phase
end