class RBI::ReqParam
Public Class Methods
new(name, loc: nil, comments: [], &block)
click to toggle source
Calls superclass method
RBI::Param::new
# File lib/rbi/model.rb, line 569 def initialize(name, loc: nil, comments: [], &block) super(name, loc: loc, comments: comments) block&.call(self) end
Public Instance Methods
==(other)
click to toggle source
# File lib/rbi/model.rb, line 575 def ==(other) ReqParam === other && name == other.name end