Class: RBS::Types::Interface
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:) ⇒ Interface constructor
Instance Attribute Summary
- #location readonly
Application
- Included
Instance Method Summary
Application
- Included
#==, #each_type, | |
#eql? |
|
#free_variables, #hash, #to_s |
Constructor Details
.new(name:, args:, location:) ⇒ Interface
# File 'lib/rbs/types.rb', line 315
def initialize(name:, args:, location:) @name = name @args = args @location = location end
Instance Attribute Details
#location (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 311
attr_reader :location
Instance Method Details
#map_type(&block)
[ GitHub ]#map_type_name(&block)
[ GitHub ]#sub(s)
[ GitHub ]#to_json(state = _ = nil)
[ GitHub ]# File 'lib/rbs/types.rb', line 321
def to_json(state = _ = nil) { class: :interface, name: name, args: args, location: location }.to_json(state) end