Skip to content

Commit

Permalink
Merging "Allow multiple include"
Browse files Browse the repository at this point in the history
  • Loading branch information
cinconnu committed Jul 12, 2012
1 parent 00bf266 commit 58722a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Gemfile.lock
gemfiles/*.lock gemfiles/*.lock
pkg/* pkg/*
rdoc/* rdoc/*
/.rvmrc
4 changes: 2 additions & 2 deletions lib/flag_shih_tzu.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module FlagShihTzu


def self.included(base) def self.included(base)
base.extend(ClassMethods) base.extend(ClassMethods)
base.class_attribute :flag_options base.class_attribute :flag_options unless defined?(base.flag_options)
base.class_attribute :flag_mapping base.class_attribute :flag_mapping unless defined?(base.flag_mapping)
end end


class IncorrectFlagColumnException < Exception; end class IncorrectFlagColumnException < Exception; end
Expand Down

0 comments on commit 58722a0

Please sign in to comment.