class FeedBo::Wall
Public Class Methods
new(position=nil)
click to toggle source
Calls superclass method
FeedBo::Element::new
# File lib/feed_bo/wall.rb, line 4 def initialize(position=nil) super @block_position = true end
Public Instance Methods
draw()
click to toggle source
# File lib/feed_bo/wall.rb, line 9 def draw fs = Level::FIELD_SIZE @svg.rect width: fs, height: fs, fill: '#37c8ab', stroke: '#0b2822' end