Class: RBS::Types::ClassInstance
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Application
|
|
Inherits: | Object |
Defined in: | lib/rbs/types.rb |
Class Method Summary
- .new(name:, args:, location:) ⇒ ClassInstance constructor
Instance Attribute Summary
Instance Method Summary
Application
- Included
#==, #each_type, | |
#eql? |
|
#free_variables, #hash, #to_s |
Constructor Details
.new(name:, args:, location:) ⇒ ClassInstance
# File 'lib/rbs/types.rb', line 272
def initialize(name:, args:, location:) @name = name @args = args @location = location end
Instance Attribute Details
#location (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 268
attr_reader :location
Instance Method Details
#map_type_name(&block)
[ GitHub ]#sub(s)
[ GitHub ]#to_json(state = _ = nil)
[ GitHub ]# File 'lib/rbs/types.rb', line 278
def to_json(state = _ = nil) { class: :class_instance, name: name, args: args, location: location }.to_json(state) end