<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,13 +1,15 @@
+require 'facets/opesc'
+
 class Object
 
+  # This will automatically load (most) core methods
+  # if they are not present when called.
+
   def method_missing(methodname, *a, &amp;b)
-    # TODO Use #op_esc convert symbolic method names.
+    methodname = OpEsc.escape(methodname)
     begin
       require &quot;facets/#{class}/#{methodname}&quot;
-      # TODO Would it be better to use #methods.include? ?
-      if respond_to?(methodname)
-        send(methodname, *a, &amp;b)
-      end
+      __send__(methodname, *a, &amp;b)
     rescue LoadError
       super
     end  </diff>
      <filename>lib/core/facets-live.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9eef13df8fbe5ad8ff2110f0e1a3082256f1aab2</id>
    </parent>
  </parents>
  <author>
    <name>trans</name>
    <email>transfire@gmail.com</email>
  </author>
  <url>http://github.com/rubyworks/facets/commit/735787a7d27e2478a5ed1f0781532ef1071af2b0</url>
  <id>735787a7d27e2478a5ed1f0781532ef1071af2b0</id>
  <committed-date>2009-11-11T09:04:36-08:00</committed-date>
  <authored-date>2009-11-11T09:04:19-08:00</authored-date>
  <message>fixed facets-live.rb [bug]</message>
  <tree>8f033b84ce18bb2155501377aa7940eed9f031be</tree>
  <committer>
    <name>trans</name>
    <email>transfire@gmail.com</email>
  </committer>
</commit>
