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.



1144
1145
1146
1147
# File 'lib/lutaml/xsd/commands/package_command.rb', line 1144

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

Instance Method Details

#runObject



1149
1150
1151
1152
# File 'lib/lutaml/xsd/commands/package_command.rb', line 1149

def run
  validate_file_exists
  perform_resolution_validation
end