Skip to content

Commit

Permalink
* Move around declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
smtlaissezfaire committed Dec 9, 2008
1 parent a780882 commit b79423e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/guillotine/expressions/column.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def eql?(other)
same_column_name?(other) && same_table_name?(other)
end

attr_writer :primary_key

def primary_key?
@primary_key ||= false
end
Expand All @@ -34,8 +32,9 @@ def auto_increment?
@auto_increment ||= false
end

attr_writer :primary_key
attr_writer :auto_increment

protected

def table_name?
Expand Down

0 comments on commit b79423e

Please sign in to comment.