Class: RBS::AST::Directives::Use::WildcardClause

Inherits:
Object
  • Object
show all
Defined in:
lib/rbs/ast/directives.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#locationObject (readonly)

Returns the value of attribute location.



21
22
23
# File 'lib/rbs/ast/directives.rb', line 21

def location
  @location
end

#namespaceObject (readonly)

Returns the value of attribute namespace.



21
22
23
# File 'lib/rbs/ast/directives.rb', line 21

def namespace
  @namespace
end