diff options
| author | Seba Gamboa <[email protected]> | 2015-09-23 14:24:03 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-23 14:24:03 -0300 |
| commit | aed91b0fb2fe3c2cd3a74e2e5bc23c8bd95ef1db (patch) | |
| tree | 880d0eb2d6ec5d949f4a0ae72980687dd9041740 /lib/yard/mruby/handlers/source/method_handler.rb | |
| parent | 731c5326b47b34364b2a8f69c6d558f52957a562 (diff) | |
| download | yard-mruby-aed91b0fb2fe3c2cd3a74e2e5bc23c8bd95ef1db.tar.gz yard-mruby-aed91b0fb2fe3c2cd3a74e2e5bc23c8bd95ef1db.zip | |
Making specs works
Diffstat (limited to 'lib/yard/mruby/handlers/source/method_handler.rb')
| -rw-r--r-- | lib/yard/mruby/handlers/source/method_handler.rb | 22 |
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 |
