lib/dedalus/elements.rb in dedalus-0.2.12 vs lib/dedalus/elements.rb in dedalus-0.2.13

- old
+ new

@@ -30,9 +30,13 @@ def initialize(attrs={}) attrs.each { |(k,v)| instance_variable_set(:"@#{k}",v) } unless attrs.nil? end + def record? + false + end + def draw_bounding_box(origin:, dimensions:, color: Palette.gray) x,y = *origin w,h = *dimensions raise "Invalid color #{color} given to #{self.class.name} for bounding box" unless color.is_a?(Dedalus::Color)