Class: Lutaml::Xsd::Commands::TypeCommand::DependentsCommand
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- Lutaml::Xsd::Commands::TypeCommand::DependentsCommand
- Defined in:
- lib/lutaml/xsd/commands/type_command.rb
Overview
Dependents command implementation
Instance Attribute Summary
Attributes inherited from BaseCommand
Instance Method Summary collapse
-
#initialize(qname, package_path, options) ⇒ DependentsCommand
constructor
A new instance of DependentsCommand.
- #run ⇒ Object
Constructor Details
#initialize(qname, package_path, options) ⇒ DependentsCommand
Returns a new instance of DependentsCommand.
1105 1106 1107 1108 1109 |
# File 'lib/lutaml/xsd/commands/type_command.rb', line 1105 def initialize(qname, package_path, ) super() @qname = qname @package_path = package_path end |
Instance Method Details
#run ⇒ Object
1111 1112 1113 1114 1115 1116 |
# File 'lib/lutaml/xsd/commands/type_command.rb', line 1111 def run repository = load_repository(@package_path) repository = ensure_resolved(repository) display_dependents(repository) end |