class SheepAst::ExactMatch

Exact match instance

Public Instance Methods

init() click to toggle source
# File lib/sheep_ast/match/exact_match.rb, line 50
def init
  @expr = ''
end
kind?() click to toggle source
# File lib/sheep_ast/match/exact_match.rb, line 44
def kind?
  return MatchKind::Exact
end
new(key, sym = nil, **options) click to toggle source
# File lib/sheep_ast/match/exact_match.rb, line 36
def new(key, sym = nil, **options)
  em = T.unsafe(ExactMatch).new(key, sym, **options)
  em.init
  return em
end