rubyx-debugger/app/class_view.rb
2015-07-22 22:05:31 +03:00

17 lines
268 B
Ruby

class ClassView
include React::Component
required_param :classes, type: Hash
def render
div class: "row" do
classes.each do |k , clas|
div :class => "col-md-1" do
k.span
clas.span
end
end
end
end
end