rubyx-debugger/app/source_view.rb

15 lines
211 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
"Virtual Machine Instruction".br
source.class.name
2015-07-22 15:22:54 +02:00
end
end
end