Method: RBS::Environment::MultiEntry#insert

Defined in:
lib/rbs/environment.rb

#insert(decl:, outer:) ⇒ Object



48
49
50
51
# File 'lib/rbs/environment.rb', line 48

def insert(decl:, outer:)
  decls << D.new(decl: decl, outer: outer)
  @primary = nil
end