Class: Mutant::Context::ConstantScope::Class Private

Inherits:
Mutant::Context::ConstantScope show all
Defined in:
lib/mutant/context.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#call(node) ⇒ Object

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.



14
15
16
# File 'lib/mutant/context.rb', line 14

def call(node)
  s(:class, const, nil, descendant.call(node))
end