class Mutest::AST::Meta::Optarg

Metadata for optional argument nodes

Constants

UNDERSCORE

Public Instance Methods

used?() click to toggle source

Test if optarg definition intends to be used

@return [Boolean]

# File lib/mutest/ast/meta/optarg.rb, line 19
def used?
  !name.to_s.start_with?(UNDERSCORE)
end