class Leftovers::DefinitionNode

Attributes

name[R]
path[R]

Public Class Methods

new(name, path) click to toggle source
# File lib/leftovers/definition_node.rb, line 9
def initialize(name, path)
  @name = name
  @path = path

  freeze
end

Public Instance Methods

kwargs() click to toggle source

these are the methods checked by things in lib/leftovers/matchers

# File lib/leftovers/definition_node.rb, line 17
def kwargs
  nil
end
positional_arguments() click to toggle source
# File lib/leftovers/definition_node.rb, line 21
def positional_arguments
  nil
end
scalar?() click to toggle source

these two i'm not sure are possible with the current config flags :nocov:

# File lib/leftovers/definition_node.rb, line 27
def scalar?
  false
end
type() click to toggle source
# File lib/leftovers/definition_node.rb, line 31
def type
  :leftovers_definition
end