Module: RDParser::ParseMatcher

Defined in:
lib/rdparser/parse_matcher.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Parse

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



35
36
37
38
# File 'lib/rdparser/parse_matcher.rb', line 35

def self.included base
  base.extend const_get("ClassMethods") if const_defined?("ClassMethods")
  base.send :include, const_get("InstanceMethods") if const_defined?("InstanceMethods")
end