Class: SvgConform::Commands::Svgcheck

Inherits:
Thor
  • Object
show all
Defined in:
lib/svg_conform/commands/svgcheck.rb

Overview

Svgcheck subcommand for svgcheck-related operations

Instance Method Summary collapse

Instance Method Details

#compare(file) ⇒ Object



24
25
26
# File 'lib/svg_conform/commands/svgcheck.rb', line 24

def compare(file)
  SvgConform::Commands::SvgcheckCompare.new(file, options).execute
end

#compatibilityObject



55
56
57
# File 'lib/svg_conform/commands/svgcheck.rb', line 55

def compatibility
  SvgConform::Commands::SvgcheckCompatibility.new(options).execute
end

#generate(svgcheck_repo_path) ⇒ Object



84
85
86
87
# File 'lib/svg_conform/commands/svgcheck.rb', line 84

def generate(svgcheck_repo_path)
  SvgConform::Commands::SvgcheckGenerate.new(svgcheck_repo_path,
                                             options).execute
end