Module: BetterRecord::ThreeState::TableDefinition

Defined in:
lib/better_record/three_state.rb

Instance Method Summary collapse

Instance Method Details

#three_state(*args, **opts) ⇒ Object



53
54
55
56
57
# File 'lib/better_record/three_state.rb', line 53

def three_state(*args, **opts)
  args.each do |name|
    column name, :three_state, **opts
  end
end