Module: Mutest::AST::NamedChildren Private
- Included in:
- Meta::Const, Meta::Optarg, Meta::Resbody, Meta::Restarg, Meta::Send, Meta::Symbol, Regexp::Transformer::OptionsGroup::ASTToExpression, Regexp::Transformer::Quantifier::ASTToExpression, Mutator::Node
- Defined in:
- lib/mutest/ast/named_children.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
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
10 11 12 13 14 15 |
# File 'lib/mutest/ast/named_children.rb', line 10 def self.included(host) host.class_eval do include InstanceMethods extend ClassMethods end end |