123456789_123456789_123456789_123456789_123456789_

Class: RBS::AST::Directives::Use::SingleClause

Relationships & Source Files
Inherits: Object
Defined in: lib/rbs/ast/directives.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(type_name:, new_name:, location:) ⇒ SingleClause

[ GitHub ]

  
# File 'lib/rbs/ast/directives.rb', line 13

def initialize(type_name:, new_name:, location:)
  @type_name = type_name
  @new_name = new_name
  @location = location
end

Instance Attribute Details

#location (readonly)

[ GitHub ]

  
# File 'lib/rbs/ast/directives.rb', line 11

attr_reader :type_name, :new_name, :location

#new_name (readonly)

[ GitHub ]

  
# File 'lib/rbs/ast/directives.rb', line 11

attr_reader :type_name, :new_name, :location

#type_name (readonly)

[ GitHub ]

  
# File 'lib/rbs/ast/directives.rb', line 11

attr_reader :type_name, :new_name, :location