Class: ToSource::Emitter::KeywordValue::Break

Inherits:
ToSource::Emitter::KeywordValue show all
Defined in:
lib/to_source/emitter/keyword_value.rb

Constant Summary collapse

SYMBOL =
:break

Constants inherited from ToSource::Emitter

REGISTRY

Instance Attribute Summary

Attributes inherited from ToSource::Emitter

#node

Instance Method Summary collapse

Methods inherited from ToSource::Emitter

build, handle, run, #source

Instance Method Details

#value?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/to_source/emitter/keyword_value.rb', line 34

def value?
  !node.value.kind_of?(Rubinius::AST::NilLiteral)
end