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

16 lines
266 B
Ruby

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