more info
This commit is contained in:
parent
72a2d22215
commit
0926f1f85f
@ -25,6 +25,7 @@ class RegisterModel < Volt::Model
|
|||||||
clazz = object.class.name.split("::").last
|
clazz = object.class.name.split("::").last
|
||||||
#puts "found #{clazz}"
|
#puts "found #{clazz}"
|
||||||
self.fields << "#{clazz}:#{object.internal_object_length}"
|
self.fields << "#{clazz}:#{object.internal_object_length}"
|
||||||
|
self.fields << object.get_layout
|
||||||
object.get_instance_variables.each do |variable|
|
object.get_instance_variables.each do |variable|
|
||||||
f = object.get_instance_variable(variable)
|
f = object.get_instance_variable(variable)
|
||||||
self.fields << f
|
self.fields << f
|
||||||
|
@ -8,8 +8,10 @@
|
|||||||
<h4> Block: {{page._block_name}} </h4>
|
<h4> Block: {{page._block_name}} </h4>
|
||||||
</div>
|
</div>
|
||||||
{{ page._blocks.each do |b| }}
|
{{ page._blocks.each do |b| }}
|
||||||
<div class="{{b._class_name}}">
|
<div>
|
||||||
{{b._name}}
|
<span class="{{b._class_name}}">
|
||||||
|
{{b._name}}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,9 +4,11 @@
|
|||||||
<:Body>
|
<:Body>
|
||||||
<div class="source-view">
|
<div class="source-view">
|
||||||
<h4> Virtual Machine Instruction </h4>
|
<h4> Virtual Machine Instruction </h4>
|
||||||
{{page._sources.each do |source| }}
|
{{page._sources.each do |source| }}
|
||||||
<div class="{{source._class_name}}">
|
<div>
|
||||||
{{source._name}}
|
<span class="{{source._class_name}}">
|
||||||
</div>
|
{{source._name}}
|
||||||
{{end}}
|
</span>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user