rubyx-debugger/app/class_view.rb

17 lines
258 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class ClassView
include React::Component
2015-07-23 12:15:26 +02:00
required_param :classes, type: {}
2015-07-22 15:22:54 +02:00
def render
div.classes do
h4 { "Classes" }
2015-07-22 22:08:36 +02:00
classes.each do |name , clas|
div.one_class do
2015-07-23 13:59:15 +02:00
clas.name
2015-07-22 21:05:31 +02:00
end
2015-07-22 15:22:54 +02:00
end
end
end
end