Sha256: 5d731e2d65b5888a6b0573b63101de3a8e40d8c7d554b9b5772b59102478e94c
Contents?: true
Size: 595 Bytes
Versions: 10
Compression:
Stored size: 595 Bytes
Contents
# frozen-string-literal: true # To give to matchers before creating a Definition module Leftovers class DefinitionNode attr_reader :path, :name def initialize(name, path) @name = name @path = path freeze end # these are the methods checked by things in lib/leftovers/matchers def kwargs nil end def positional_arguments nil end # these two i'm not sure are possible with the current config flags # :nocov: def scalar? false end def type :leftovers_definition end # :nocov: end end
Version data entries
10 entries across 10 versions & 1 rubygems