Class: ToSource::Emitter::UnaryOperatorMethod
- Inherits:
-
Send
- Object
- ToSource::Emitter
- Send
- ToSource::Emitter::UnaryOperatorMethod
- Defined in:
- lib/to_source/emitter/unary_operator_method.rb
Overview
Emitter for unary operator method
Constant Summary collapse
- UNARY_MAPPING =
{ :-@ => :-, :+@ => :+, }.freeze
Constants inherited from Send
Constants inherited from ToSource::Emitter
Instance Attribute Summary
Attributes inherited from ToSource::Emitter
Method Summary
Methods inherited from ToSource::Emitter
build, define_predicate, #initialize, run, #source
Constructor Details
This class inherits a constructor from ToSource::Emitter