lib/yard/mruby/handlers/c/header/base.rb in yard-mruby-0.2.2 vs lib/yard/mruby/handlers/c/header/base.rb in yard-mruby-0.2.3
- old
+ new
@@ -1,30 +1,30 @@
-module YARD::MRuby::Handlers
- module C
- module Header
- class Base < YARD::Handlers::C::Base
- include YARD::MRuby::CodeObjects
-
- def header(path)
- # Remove include prefix
- path = path.gsub(/^.*include\//,'')
-
- headers[path] ||= begin
- header = HeaderObject.new(HEADERS_ROOT, path)
- register header
- header
- end
-
-
- end
-
- def headers
- globals.mruby_headers ||= {}
- end
-
- end
-
- end
-
- YARD::Handlers::Processor.register_handler_namespace :header, Header
- end
-end
+module YARD::MRuby::Handlers
+ module C
+ module Header
+ class Base < YARD::Handlers::C::Base
+ include YARD::MRuby::CodeObjects
+
+ def header(path)
+ # Remove include prefix
+ path = path.gsub(/^.*include\//,'')
+
+ headers[path] ||= begin
+ header = HeaderObject.new(HEADERS_ROOT, path)
+ register header
+ header
+ end
+
+
+ end
+
+ def headers
+ globals.mruby_headers ||= {}
+ end
+
+ end
+
+ end
+
+ YARD::Handlers::Processor.register_handler_namespace :header, Header
+ end
+end