class TypeProf::CRef
Attributes
klass[R]
outer[R]
singleton[R]
Public Class Methods
new(outer, klass, singleton)
click to toggle source
# File typeprof-0.21.3/lib/typeprof/analyzer.rb, line 5 def initialize(outer, klass, singleton) @outer = outer @klass = klass @singleton = singleton # flags # scope_visi (= method_visi * module_func_flag) # refinements end
Public Instance Methods
extend(klass, singleton)
click to toggle source
# File typeprof-0.21.3/lib/typeprof/analyzer.rb, line 14 def extend(klass, singleton) CRef.new(self, klass, singleton) end
pretty_print(q)
click to toggle source
# File typeprof-0.21.3/lib/typeprof/analyzer.rb, line 20 def pretty_print(q) q.text "CRef[" q.pp @klass q.text "]" end