summaryrefslogtreecommitdiff
path: root/lib/forwardable/impl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/forwardable/impl.rb')
-rw-r--r--lib/forwardable/impl.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/forwardable/impl.rb b/lib/forwardable/impl.rb
deleted file mode 100644
index 0322c136db..0000000000
--- a/lib/forwardable/impl.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-module Forwardable
- # :stopdoc:
-
- def self._valid_method?(method)
- catch {|tag|
- eval("BEGIN{throw tag}; ().#{method}", binding, __FILE__, __LINE__)
- }
- rescue SyntaxError
- false
- else
- true
- end
-
- def self._compile_method(src, file, line)
- eval(src, nil, file, line)
- end
-end