Method: RBI::Send#initialize

Defined in:
lib/rbi/model.rb

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

Returns a new instance of Send.



1022
1023
1024
1025
1026
1027
# File 'lib/rbi/model.rb', line 1022

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