rubyx-debugger/app/source_view.rb

15 lines
202 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class SourceView
include React::Component
required_param :source, type: Virtual::Instruction
2015-07-22 15:22:54 +02:00
def render
div.row do
2015-07-22 21:05:31 +02:00
"Virtual Machine Instruction".span
2015-07-23 13:59:15 +02:00
source
2015-07-22 15:22:54 +02:00
end
end
end