lib/svgcode/svg/path.rb in svgcode-0.4.0 vs lib/svgcode/svg/path.rb in svgcode-0.6.0

- old
+ new

@@ -1,13 +1,13 @@ -require 'svgcode/svg/command' +require 'svgcode/svg/path_command' module Svgcode module SVG class Path attr_reader :commands def initialize(str) - @commands = str.split(/(?=[a-z])/i).collect { |s| Command.new(s) } + @commands = str.split(/(?=[a-z])/i).collect { |s| PathCommand.new(s) } end end end end