adds button and blocks tick over

This commit is contained in:
Torsten Ruger
2015-07-30 10:27:27 +03:00
parent d8a3657365
commit bb24a6cae5
5 changed files with 11 additions and 21 deletions

View File

@ -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