Module: Mutant::AST::NamedChildren
- Included in:
- Mutator::Node
- Defined in:
- lib/mutant/ast/named_children.rb
Overview
Helper methods to define named children
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(host) ⇒ undefined
private
Hook called when module gets included.
Class Method Details
.included(host) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Hook called when module gets included
15 16 17 18 19 20 21 22 |
# File 'lib/mutant/ast/named_children.rb', line 15 def self.included(host) super host.class_eval do include InstanceMethods extend ClassMethods end end |