Class: RBS::AST::Directives::Use::WildcardClause
- Inherits:
-
Object
- Object
- RBS::AST::Directives::Use::WildcardClause
- Defined in:
- lib/rbs/ast/directives.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize(namespace:, location:) ⇒ WildcardClause
constructor
A new instance of WildcardClause.
Constructor Details
#initialize(namespace:, location:) ⇒ WildcardClause
Returns a new instance of WildcardClause.
23 24 25 26 |
# File 'lib/rbs/ast/directives.rb', line 23 def initialize(namespace:, location:) @location = location @namespace = namespace end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
21 22 23 |
# File 'lib/rbs/ast/directives.rb', line 21 def location @location end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
21 22 23 |
# File 'lib/rbs/ast/directives.rb', line 21 def namespace @namespace end |