Method: Decode::Language::Ruby::Definition#location

Defined in:
lib/decode/language/ruby/definition.rb

#locationObject

Get the location of this definition.



79
80
81
82
83
# File 'lib/decode/language/ruby/definition.rb', line 79

def location
	if @source and location = @node&.location
		Location.new(@source.path, location.start_line)
	end
end