Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Taskrabbit::Proxy for ruby 1.9.3.

  • Loading branch information...
commit 53a0dbe112afb255a28a74094668d88537fd0d46 1 parent 086c6b9
@jrichardlai authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/taskrabbit/proxy.rb
View
6 lib/taskrabbit/proxy.rb
@@ -1,9 +1,9 @@
-class BasicObject #:nodoc:
+class BaseObject #:nodoc:
instance_methods.each { |m| undef_method m unless m =~ /(^__|^nil\?$|^send$|instance_eval|proxy_|^object_id$)/ }
-end unless defined?(BasicObject)
+end unless defined?(BaseObject)
module Taskrabbit
- class Proxy < BasicObject
+ class Proxy < BaseObject
COLLECTION_DELEGATE = %w{first last count size length each keys links}.freeze
Please sign in to comment.
Something went wrong with that request. Please try again.