Module: RuboCop::AST::BasicLiteralNode
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Defined in: | lib/rubocop/ast/node/mixin/basic_literal_node.rb |
Overview
Common functionality for primitive literal nodes: sym, str,
int, float, rational, complex…
Instance Method Summary
-
#value ⇒ mixed
Returns the value of the literal.
Instance Method Details
#value ⇒ mixed
Returns the value of the literal.
# File 'lib/rubocop/ast/node/mixin/basic_literal_node.rb', line 11
def value node_parts[0] end