Class: RBS::AST::Directives::Use
Defined Under Namespace
Classes: SingleClause, WildcardClause
Instance Attribute Summary collapse
-
#clauses ⇒ Object
readonly
Returns the value of attribute clauses.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(clauses:, location:) ⇒ Use
constructor
A new instance of Use.
Constructor Details
#initialize(clauses:, location:) ⇒ Use
Returns a new instance of Use.
31 32 33 34 |
# File 'lib/rbs/ast/directives.rb', line 31 def initialize(clauses:, location:) @clauses = clauses @location = location end |
Instance Attribute Details
#clauses ⇒ Object (readonly)
Returns the value of attribute clauses.
29 30 31 |
# File 'lib/rbs/ast/directives.rb', line 29 def clauses @clauses end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
29 30 31 |
# File 'lib/rbs/ast/directives.rb', line 29 def location @location end |