rubyx-debugger/app/main/controllers/classes_controller.rb
2015-07-31 19:35:06 +03:00

17 lines
359 B
Ruby

module Main
class ClassesController < Volt::ModelController
def initialize *args
super(*args)
page._classes!.clear
Virtual.machine.space.classes.each do |name , claz|
next if [:Kernel,:Module,:MetaClass,:BinaryCode].index name
c = Volt::Model.new :name => name
page._classes << c
end
end
end
end