Class: RBS::Environment::SingleEntry
- Inherits:
-
Object
- Object
- RBS::Environment::SingleEntry
- Includes:
- ContextUtil
- Defined in:
- lib/rbs/environment.rb
Instance Attribute Summary collapse
-
#decl ⇒ Object
readonly
Returns the value of attribute decl.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#outer ⇒ Object
readonly
Returns the value of attribute outer.
Instance Method Summary collapse
-
#initialize(name:, decl:, outer:) ⇒ SingleEntry
constructor
A new instance of SingleEntry.
Methods included from ContextUtil
Constructor Details
#initialize(name:, decl:, outer:) ⇒ SingleEntry
Returns a new instance of SingleEntry.
105 106 107 108 109 |
# File 'lib/rbs/environment.rb', line 105 def initialize(name:, decl:, outer:) @name = name @decl = decl @outer = outer end |
Instance Attribute Details
#decl ⇒ Object (readonly)
Returns the value of attribute decl.
103 104 105 |
# File 'lib/rbs/environment.rb', line 103 def decl @decl end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
101 102 103 |
# File 'lib/rbs/environment.rb', line 101 def name @name end |
#outer ⇒ Object (readonly)
Returns the value of attribute outer.
102 103 104 |
# File 'lib/rbs/environment.rb', line 102 def outer @outer end |