Class: Lutaml::Xsd::Commands::VerifyCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Lutaml::Xsd::Commands::VerifyCommand
- Defined in:
- lib/lutaml/xsd/commands/verify_command.rb
Overview
Command for verifying XSD specification compliance Validates schemas against W3C XSD specification requirements
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
-
#initialize(package_path, options) ⇒ VerifyCommand
constructor
A new instance of VerifyCommand.
- #run ⇒ Object
Constructor Details
#initialize(package_path, options) ⇒ VerifyCommand
Returns a new instance of VerifyCommand.
11 12 13 14 15 16 17 |
# File 'lib/lutaml/xsd/commands/verify_command.rb', line 11 def initialize(package_path, ) super() @package_path = package_path @xsd_version = [:xsd_version] || "1.0" @strict = [:strict] || false @format = [:format] || "text" end |
Instance Method Details
#run ⇒ Object
19 20 21 22 |
# File 'lib/lutaml/xsd/commands/verify_command.rb', line 19 def run validate_package_exists perform_spec_verification end |