rubyx-debugger/app/class_view.rb

16 lines
256 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class ClassView
include React::Component
2015-07-22 21:05:31 +02:00
required_param :classes, type: Hash
2015-07-22 15:22:54 +02:00
def render
2015-07-22 22:08:36 +02:00
div :class => "row" do
classes.each do |name , clas|
div :class => "row" do
clas.name.span
2015-07-22 21:05:31 +02:00
end
2015-07-22 15:22:54 +02:00
end
end
end
end