Class: Lutaml::Xsd::Commands::PackageCommand::ValidateResolutionCommand

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/lutaml/xsd/commands/package_command.rb

Overview

ValidateResolution command implementation

Instance Attribute Summary

Attributes inherited from BaseCommand

#options

Instance Method Summary collapse

Constructor Details

#initialize(package_file, options) ⇒ ValidateResolutionCommand

Returns a new instance of ValidateResolutionCommand.



1141
1142
1143
1144
# File 'lib/lutaml/xsd/commands/package_command.rb', line 1141

def initialize(package_file, options)
  super(options)
  @package_file = package_file
end

Instance Method Details

#runObject



1146
1147
1148
1149
# File 'lib/lutaml/xsd/commands/package_command.rb', line 1146

def run
  validate_file_exists
  perform_resolution_validation
end