summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/handlers/source/method_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yard/mruby/handlers/source/method_handler.rb')
-rw-r--r--lib/yard/mruby/handlers/source/method_handler.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/yard/mruby/handlers/source/method_handler.rb b/lib/yard/mruby/handlers/source/method_handler.rb
deleted file mode 100644
index f3eab8c..0000000
--- a/lib/yard/mruby/handlers/source/method_handler.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-module YARD::MRuby::Handlers::Source
- class MethodHandler < Base
- MATCH1 = /mrb_define_method\s*
- \(
- \s*\w+\s*,
- \s*(\w+)\s*,
- \s*"(\w+)"\s*,
- \s*(\w+)\s*,
- /mx
-
- handles MATCH1
- statement_class BodyStatement
-
- process do
- puts statement.inspect
- statement.source.scan(MATCH1) do |var_name, name, func_name|
- handle_method(nil, var_name, name, func_name)
- end
- end
-
- end
-end