Method: CodeWeb::MethodCall#initialize

Defined in:
lib/code_web/method_call.rb

#initialize(filename, line, name = nil, args = [], is_yielding = false) ⇒ MethodCall

Returns a new instance of MethodCall.



16
17
18
19
20
21
22
# File 'lib/code_web/method_call.rb', line 16

def initialize(filename, line, name=nil, args=[], is_yielding=false)
  @filename = filename
  @line = line
  @name = name
  @args = sorted_hash(args)
  @is_yielding = !! is_yielding
end