Class: Archruby::Ruby::TypeInference::Ruby::MethodDefinition
- Inherits:
-
Object
- Object
- Archruby::Ruby::TypeInference::Ruby::MethodDefinition
- Defined in:
- lib/archruby/ruby/type_inference/ruby/method_definition.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
-
#method_calls ⇒ Object
readonly
Returns the value of attribute method_calls.
-
#method_name ⇒ Object
readonly
Returns the value of attribute method_name.
Instance Method Summary collapse
-
#initialize(class_name, method_name, args, method_calls) ⇒ MethodDefinition
constructor
A new instance of MethodDefinition.
Constructor Details
#initialize(class_name, method_name, args, method_calls) ⇒ MethodDefinition
Returns a new instance of MethodDefinition.
9 10 11 12 13 14 |
# File 'lib/archruby/ruby/type_inference/ruby/method_definition.rb', line 9 def initialize(class_name, method_name, args, method_calls) @class_name = class_name @method_name = method_name @args = args @method_calls = method_calls end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
7 8 9 |
# File 'lib/archruby/ruby/type_inference/ruby/method_definition.rb', line 7 def args @args end |
#class_name ⇒ Object (readonly)
Returns the value of attribute class_name.
7 8 9 |
# File 'lib/archruby/ruby/type_inference/ruby/method_definition.rb', line 7 def class_name @class_name end |
#method_calls ⇒ Object (readonly)
Returns the value of attribute method_calls.
7 8 9 |
# File 'lib/archruby/ruby/type_inference/ruby/method_definition.rb', line 7 def method_calls @method_calls end |
#method_name ⇒ Object (readonly)
Returns the value of attribute method_name.
7 8 9 |
# File 'lib/archruby/ruby/type_inference/ruby/method_definition.rb', line 7 def method_name @method_name end |