mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
Remove untested special cases for #id and #sub (presumed unnecessary)
This commit is contained in:
parent
b7d43ac57e
commit
1e22c6513a
1 changed files with 0 additions and 9 deletions
|
@ -19,15 +19,6 @@ module Docile
|
|||
@__fallback__ = fallback
|
||||
end
|
||||
|
||||
def id
|
||||
@__receiver__.__send__(:id)
|
||||
end
|
||||
|
||||
# Special case due to `Kernel#sub`'s existence
|
||||
def sub(*args, &block)
|
||||
__proxy_method__(:sub, *args, &block)
|
||||
end
|
||||
|
||||
# Special case to allow proxy instance variables
|
||||
def instance_variables
|
||||
# Ruby 1.8.x returns string names, convert to symbols
|
||||
|
|
Loading…
Reference in a new issue