rubyx-debugger/app/register_view.rb

16 lines
242 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class RegisterView
include React::Component
2015-07-22 21:05:31 +02:00
required_param :registers, type: []
2015-07-22 15:22:54 +02:00
def render
2015-07-22 21:05:31 +02:00
div :class => :row do
registers.each do |r|
div :class => "col-md-1" do
r
2015-07-22 15:22:54 +02:00
end
end
end
end
end