lib/kitsune/faux_column.rb in kitsune-0.0.19 vs lib/kitsune/faux_column.rb in kitsune-0.1.0
- old
+ new
@@ -1,11 +1,8 @@
module Kitsune
class FauxColumn
- attr_accessor :name, :type
- def initialize(name, type)
- @name, @type = name, type
- end
- def primary
- false
+ attr_accessor :name, :type, :primary
+ def initialize(name, type, primary = false)
+ @name, @type, @primary = name, type, primary
end
end
end
\ No newline at end of file