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

17 lines
226 B
Ruby

class BlockView
include React::Component
required_param :block, type: []
def render
div :class => :row do
block.each do |code| #should be block.codes.each
code.to_s.br
end
end
end
end