Class: Archruby::Ruby::TypeInferenceDep

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ TypeInferenceDep

Returns a new instance of TypeInferenceDep.



7
8
9
10
11
# File 'lib/archruby/ruby/type_inference_dep.rb', line 7

def initialize options
  @class_source = options[:class_source]
  @class_dep = options[:class_dep]
  @line_source_num = options[:line_source_num]
end

Instance Attribute Details

#class_depObject (readonly)

Returns the value of attribute class_dep.



5
6
7
# File 'lib/archruby/ruby/type_inference_dep.rb', line 5

def class_dep
  @class_dep
end

#class_sourceObject (readonly)

Returns the value of attribute class_source.



5
6
7
# File 'lib/archruby/ruby/type_inference_dep.rb', line 5

def class_source
  @class_source
end

#line_source_numObject (readonly)

Returns the value of attribute line_source_num.



5
6
7
# File 'lib/archruby/ruby/type_inference_dep.rb', line 5

def line_source_num
  @line_source_num
end