2015-07-22 15:22:54 +02:00
|
|
|
class SourceView
|
|
|
|
|
|
|
|
include React::Component
|
|
|
|
|
2015-07-23 16:26:48 +02:00
|
|
|
required_param :source, type: Virtual::Instruction
|
2015-07-22 15:22:54 +02:00
|
|
|
|
|
|
|
def render
|
2015-07-23 16:26:48 +02:00
|
|
|
div.row do
|
2015-07-24 09:15:58 +02:00
|
|
|
"Virtual Machine Instruction".br
|
|
|
|
source.class.name
|
2015-07-22 15:22:54 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|