From 3a60c88a3b3dbd334e4769a6283fb90c0495c25b Mon Sep 17 00:00:00 2001 From: Seba Gamboa Date: Fri, 25 Sep 2015 18:01:14 -0300 Subject: Sorting tons of stuff around --- lib/yard/mruby/code_objects/header_object.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/yard/mruby/code_objects/header_object.rb') diff --git a/lib/yard/mruby/code_objects/header_object.rb b/lib/yard/mruby/code_objects/header_object.rb index 59f67a3..2e70230 100644 --- a/lib/yard/mruby/code_objects/header_object.rb +++ b/lib/yard/mruby/code_objects/header_object.rb @@ -3,12 +3,6 @@ module YARD::MRuby::CodeObjects # A HeaderObject represents a MRuby header inside an include directory # It groups C Functions and define macros. class HeaderObject < YARD::CodeObjects::NamespaceObject - def initialize(*args) - super - - raise "Invalid Header" unless self.title.match(/\.h$/) - end - def functions children.find_all {|d| d.is_a?(FunctionObject) } end -- cgit v1.2.3