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 138
attr_reader :args
#location (readonly)
[ GitHub ]# File 'lib/rbs/ast/declarations.rb', line 139
attr_reader :location
#name (readonly)
[ GitHub ]# File 'lib/rbs/ast/declarations.rb', line 137
attr_reader :name
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#eql?(other)
Alias for #==.
# File 'lib/rbs/ast/declarations.rb', line 151
alias eql? ==