lib/rubyvis/mark/rule.rb in rubyvis-0.2.2 vs lib/rubyvis/mark/rule.rb in rubyvis-0.3.0

- old
+ new

@@ -6,10 +6,10 @@ class Rule < Mark include LinePrototype @properties=Mark.properties.dup attr_accessor_dsl :width, :height, :line_width, [:stroke_style, lambda {|d| Rubyvis.color(d)}] def self.defaults - Rule.new.extend(Mark.defaults).line_width(1).stroke_style('black').antialias(false) + Rule.new.mark_extend(Mark.defaults).line_width(1).stroke_style('black').antialias(false) end def type 'rule' end