remove volt
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
|
||||
# represent a block and hold the actual instance (as transient)
|
||||
|
||||
class BlockModel < Volt::Model
|
||||
field :name
|
||||
attr_accessor :block
|
||||
|
||||
def initialize(b)
|
||||
super()
|
||||
@block = b
|
||||
self.name = b.nil? ? 'undefined' : b.name
|
||||
end
|
||||
end
|
@ -1,13 +0,0 @@
|
||||
|
||||
# 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
|
Reference in New Issue
Block a user