Class: Archruby::Ruby::TypeInference::Ruby::InternalMethodInvocation

Inherits:
Object
  • Object
show all
Defined in:
lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(class_name, method_name, params = nil, linenum = nil) ⇒ InternalMethodInvocation

Returns a new instance of InternalMethodInvocation.



9
10
11
12
13
14
# File 'lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb', line 9

def initialize(class_name, method_name, params=nil, linenum = nil)
  @class_name = class_name
  @method_name = method_name
  @params = params
  @linenum = linenum
end

Instance Attribute Details

#class_nameObject (readonly)

Returns the value of attribute class_name.



7
8
9
# File 'lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb', line 7

def class_name
  @class_name
end

#linenumObject (readonly)

Returns the value of attribute linenum.



7
8
9
# File 'lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb', line 7

def linenum
  @linenum
end

#method_nameObject (readonly)

Returns the value of attribute method_name.



7
8
9
# File 'lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb', line 7

def method_name
  @method_name
end

#paramsObject (readonly)

Returns the value of attribute params.



7
8
9
# File 'lib/archruby/ruby/type_inference/ruby/internal_method_invocation.rb', line 7

def params
  @params
end