Commit 70ceef5

mo khan <mo@mokhan.ca>
2013-07-20 23:43:15
rename is_for? to matches?
1 parent 2a9a3ff
lib/humble/configuration.rb
@@ -17,7 +17,7 @@ module Humble
 
     def mapping_for(item)
       @mappings.find do |mapping|
-        mapping.is_for?(item)
+        mapping.matches?(item)
       end
     end
 
lib/humble/mapping_configuration.rb
@@ -13,7 +13,7 @@ module Humble
       @table.persist(connection, item)
     end
 
-    def is_for?(item)
+    def matches?(item)
       item == self[:type] || item.is_a?(self[:type])
     end
 
Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    humble (0.0.1374363716)
+    humble (0.0.1374363779)
       sequel
 
 GEM