Class: ParseSVGString

Inherits:
Object
  • Object
show all
Defined in:
lib/convert_svg_string_to_gcode/helpers/parse_svg_string.rb

Class Method Summary collapse

Class Method Details

.perform(svg_string) ⇒ Object



4
5
6
# File 'lib/convert_svg_string_to_gcode/helpers/parse_svg_string.rb', line 4

def self.perform(svg_string)
  return Nokogiri::XML.parse(svg_string)
end