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