class RBS::Environment::SingleEntry

Attributes

decl[R]
name[R]
outer[R]

Public Class Methods

new(name:, decl:, outer:) click to toggle source
# File rbs-3.6.1/lib/rbs/environment.rb, line 114
def initialize(name:, decl:, outer:)
  @name = name
  @decl = decl
  @outer = outer
end

Public Instance Methods

context() click to toggle source
# File rbs-3.6.1/lib/rbs/environment.rb, line 122
def context
  @context ||= calculate_context(outer)
end