lib/yard/mruby/handlers/c/header/header_decl_handler.rb in yard-mruby-0.2.2 vs lib/yard/mruby/handlers/c/header/header_decl_handler.rb in yard-mruby-0.2.3

- old
+ new

@@ -1,20 +1,20 @@ -module YARD::MRuby::Handlers::C::Header - class HeaderDeclHandler < Base - MATCH = / - MRB_BEGIN_DECL - /mx - - handles MATCH - statement_class ToplevelStatement - - process do - header = self.header(statement.file) - - if statement.comments - register_docstring(header, statement.comments.source, statement) - end - end - - end -end - +module YARD::MRuby::Handlers::C::Header + class HeaderDeclHandler < Base + MATCH = / + MRB_BEGIN_DECL + /mx + + handles MATCH + statement_class ToplevelStatement + + process do + header = self.header(statement.file) + + if statement.comments + register_docstring(header, statement.comments.source, statement) + end + end + + end +end +