rubyx-debugger/app/register_view.rb
2015-07-23 13:20:53 +03:00

16 lines
262 B
Ruby

class RegisterView
include React::Component
required_param :registers, type: {}
def render
div :class => :row do
registers.each do |r , has|
div :class => "col-md-1" do
"#{r} : #{has}"
end
end
end
end
end