<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,11 @@ module Roleful
     end
 
     def can(sym, &amp;block)
-      handlers[sym] = block || proc { |arg| true }
+      handlers[sym] = block || if RUBY_VERSION &lt; &quot;1.9.0&quot;
+        proc { true }
+      else
+        proc { |arg| true }
+      end
       
       metaclass.class_eval(&lt;&lt;-END, __FILE__, __LINE__)
         def can_#{sym}?(target, *args)
@@ -60,7 +64,11 @@ module Roleful
     end
     
     def define_predicates
-      meta_def(&quot;#{name}?&quot;) { |arg| true }
+      if RUBY_VERSION &lt; &quot;1.9.0&quot;
+        meta_def(&quot;#{name}?&quot;) { true }
+      else
+        meta_def(&quot;#{name}?&quot;) { |arg| true }
+      end
       delegate_predicate(&quot;#{name}?&quot;)
       delegate_predicate(&quot;can?&quot;)
     end</diff>
      <filename>lib/roleful/role.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ddb2ace3f0bfd3f2030d0b63c2d42c536ab79a4</id>
    </parent>
  </parents>
  <author>
    <name>Pat Nakajima</name>
    <email>patnakajima@gmail.com</email>
  </author>
  <url>http://github.com/nakajima/roleful/commit/f00d8e0095e921284777d9bc23580b463d469048</url>
  <id>f00d8e0095e921284777d9bc23580b463d469048</id>
  <committed-date>2009-10-20T16:42:41-07:00</committed-date>
  <authored-date>2009-10-20T16:42:41-07:00</authored-date>
  <message>Fix warnings</message>
  <tree>3725a732789b357eb2f8e1fefa0f535b4c781881</tree>
  <committer>
    <name>Pat Nakajima</name>
    <email>patnakajima@gmail.com</email>
  </committer>
</commit>
