Class: Lutaml::Xsd::Commands::PackageCommand::SchemasCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Lutaml::Xsd::Commands::PackageCommand::SchemasCommand
- Defined in:
- lib/lutaml/xsd/commands/package_command.rb
Overview
Schemas command implementation
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
-
#initialize(package_file, options) ⇒ SchemasCommand
constructor
A new instance of SchemasCommand.
- #run ⇒ Object
Constructor Details
#initialize(package_file, options) ⇒ SchemasCommand
Returns a new instance of SchemasCommand.
863 864 865 866 |
# File 'lib/lutaml/xsd/commands/package_command.rb', line 863 def initialize(package_file, ) super() @package_file = package_file end |
Instance Method Details
#run ⇒ Object
868 869 870 871 872 873 874 875 876 |
# File 'lib/lutaml/xsd/commands/package_command.rb', line 868 def run validate_file_exists if [:classify] display_classification else list_schemas end end |