Class: Steep::TypeInference::TypeEnvBuilder::Command::RBSBase
- Defined in:
- lib/steep/type_inference/type_env_builder.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
Instance Method Summary collapse
-
#initialize(factory) ⇒ RBSBase
constructor
A new instance of RBSBase.
Constructor Details
#initialize(factory) ⇒ RBSBase
Returns a new instance of RBSBase.
18 19 20 21 |
# File 'lib/steep/type_inference/type_env_builder.rb', line 18 def initialize(factory) @factory = factory @environment = factory.env end |
Instance Attribute Details
#environment ⇒ Object (readonly)
Returns the value of attribute environment.
16 17 18 |
# File 'lib/steep/type_inference/type_env_builder.rb', line 16 def environment @environment end |
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
14 15 16 |
# File 'lib/steep/type_inference/type_env_builder.rb', line 14 def factory @factory end |