Method: RBI::Send#initialize

Defined in:
lib/rbi/model.rb

#initialize(method, args = [], loc: nil, comments: [], &block) ⇒ Send

: (String method, ?Array args, ?loc: Loc?, ?comments: Array) ?{ (Send node) -> void } -> void



779
780
781
782
783
784
# File 'lib/rbi/model.rb', line 779

def initialize(method, args = [], loc: nil, comments: [], &block)
  super(loc: loc, comments: comments)
  @method = method
  @args = args
  block&.call(self)
end