rubyx-debugger/app/class_view.rb

17 lines
268 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 21:05:31 +02:00
div class: "row" do
classes.each do |k , clas|
div :class => "col-md-1" do
k.span
clas.span
end
2015-07-22 15:22:54 +02:00
end
end
end
end