Sha256: 4bf39ebf23956ae9b7760a0eda780370a785b0d168c9d93451494fcc757af656
Contents?: true
Size: 358 Bytes
Versions: 20
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # Common functionality for primitive literal nodes: `sym`, `str`, # `int`, `float`, `rational`... module BasicLiteralNode # Returns the value of the literal. # # @return [mixed] the value of the literal def value node_parts[0] end end end end
Version data entries
20 entries across 20 versions & 3 rubygems