summaryrefslogtreecommitdiffhomepage
path: root/lib/yard/mruby/handlers/c/method_handler.rb
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-25 18:01:14 -0300
committerSeba Gamboa <[email protected]>2015-09-25 18:01:14 -0300
commit3a60c88a3b3dbd334e4769a6283fb90c0495c25b (patch)
treede3d8ec187771d6e2d5f42da864c19ee6d69d890 /lib/yard/mruby/handlers/c/method_handler.rb
parent82e906d74dcc943d737ced7a6ebfee1e71a74aaf (diff)
downloadyard-mruby-3a60c88a3b3dbd334e4769a6283fb90c0495c25b.tar.gz
yard-mruby-3a60c88a3b3dbd334e4769a6283fb90c0495c25b.zip
Sorting tons of stuff around
Diffstat (limited to 'lib/yard/mruby/handlers/c/method_handler.rb')
-rw-r--r--lib/yard/mruby/handlers/c/method_handler.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/yard/mruby/handlers/c/method_handler.rb b/lib/yard/mruby/handlers/c/method_handler.rb
deleted file mode 100644
index d60b568..0000000
--- a/lib/yard/mruby/handlers/c/method_handler.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-module YARD::MRuby::Handlers::C
- class MethodHandler < Base
- MATCH1 = /mrb_define_(
- method |
- singleton_method |
- module_function
- )
- \s*\(
- \s*\w+\s*,
- \s*(\w+)\s*,
- \s*"(\w+)"\s*,
- \s*(\w+)\s*,
- /mx
-
- handles MATCH1
- statement_class BodyStatement
-
- process do
- statement.source.scan(MATCH1) do |type,var_name, name, func_name|
- handle_method(type, var_name, name, func_name)
- end
- end
-
- end
-end