copied salama in for reload

but have to rethink approach
This commit is contained in:
Torsten Ruger
2015-07-17 22:44:20 +03:00
parent b5b0630060
commit 4305ddaf1d
7 changed files with 32 additions and 13 deletions

View File

@ -0,0 +1,13 @@
# 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