class Svgsplitter::Splitter

Defined in:

svgsplitter/splitter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(input_path : String, output : Athena::Console::Output::Interface, output_path : String | Nil = nil, prefix : String | Nil = "") #

[View source]

Instance Method Detail

def build_file(xml, id) #

Ineffeciently build new document by deleting all svg children except those matching the ID parameter


[View source]
def run(dry_run : Bool = false) #

[View source]
def write_file(content, path) #

[View source]