Module: ParserCore::Mega

Included in:
BaseBuilder, BaseParser
Defined in:
lib/parser_core/mega.rb

Instance Method Summary collapse

Instance Method Details

#megaObject



3
4
5
6
7
# File 'lib/parser_core/mega.rb', line 3

def mega
  called_from = caller_locations[0].label
  included_modules = (self.class.included_modules - Class.included_modules - [Mega])
  included_modules.map { |m| m.instance_method(called_from).bind(self).call }
end