rubyx-debugger/app/main/models/instruction_model.rb
Torsten Ruger 4305ddaf1d copied salama in for reload
but have to rethink approach
2015-07-17 22:44:20 +03:00

14 lines
246 B
Ruby

# represent an instruction and hold the actual instance (as transient)
class InstructionModel < Volt::Model
field :name
attr_accessor :instruction
def initialize(i)
super()
@instruction = i
self.name = i.class.name
end
end