Method: ClassBrowser#initialize

Defined in:
lib/ClassBrowser.rb

#initialize(root_class = Object) ⇒ ClassBrowser

Returns a new instance of ClassBrowser.



11
12
13
14
15
16
17
# File 'lib/ClassBrowser.rb', line 11

def initialize root_class = Object
	@class_root_node = ClassNode.new root_class
	@show_help = false
	@depth = :depth_immediate
	@show_modules = false
	@show_methods = :methods_none
end