rubyx-debugger/app/source_view.rb

15 lines
188 B
Ruby
Raw Normal View History

2015-07-22 15:22:54 +02:00
class SourceView
include React::Component
2015-07-22 21:05:31 +02:00
define_state :source
2015-07-22 15:22:54 +02:00
def render
2015-07-22 21:05:31 +02:00
div :class => :row do
"Virtual Machine Instruction".span
source.name
2015-07-22 15:22:54 +02:00
end
end
end