Sha256: 794c5b7c313c2d342a570bfd9ae7e0f45f698ae51c0b1fdf5057c3660b9d1d5c
Contents?: true
Size: 337 Bytes
Versions: 4
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true module Leftovers module AST class NumericNode < Node alias_method :to_scalar_value, :first def scalar? true end def to_s to_scalar_value.to_s end alias_method :to_literal_s, :to_s def to_sym to_s.to_sym end end end end
Version data entries
4 entries across 4 versions & 1 rubygems