Sha256: 1e45b3550646750ee504f10bdf0f88bed22b91444c67367ab7810d4c814969ec
Contents?: true
Size: 369 Bytes
Versions: 4
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module Leftovers class DefinitionNode < AST::Node attr_reader :name, :path alias_method :to_sym, :name def initialize(node, name:, location: node.loc.expression) @name = name @path = node.path @location = location super(:leftovers_definition) end def to_s name.to_s end end end
Version data entries
4 entries across 4 versions & 1 rubygems