Class: RBS::AST::Declarations::Module::Self
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rbs/ast/declarations.rb |
Class Method Summary
- .new(name:, args:, location:) ⇒ Self constructor
Instance Attribute Summary
Instance Method Summary
- #==(other) (also: #eql?)
-
#eql?(other)
Alias for #==.
- #hash
- #to_json(state = _ = nil)
- #to_s
Constructor Details
.new(name:, args:, location:) ⇒ Self
Instance Attribute Details
#args (readonly)
[ GitHub ]# File 'lib/rbs/ast/declarations.rb', line 150
attr_reader :args
#location (readonly)
[ GitHub ]# File 'lib/rbs/ast/declarations.rb', line 151
attr_reader :location
#name (readonly)
[ GitHub ]# File 'lib/rbs/ast/declarations.rb', line 149
attr_reader :name
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#eql?(other)
Alias for #==.
# File 'lib/rbs/ast/declarations.rb', line 163
alias eql? ==