Module: AssLauncher::Cmd::Abstract::Option::Pattern Private
- Included in:
- Main::SubCommands::MakeIb
- Defined in:
- lib/ass_launcher/cmd.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Mixin Command option
Class Method Summary collapse
- .included(base) ⇒ Object private
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
338 339 340 341 342 343 344 345 |
# File 'lib/ass_launcher/cmd.rb', line 338 def self.included(base) base.option %w[--pattern -P], 'PATH', 'Template for make infobase.'\ ' Path to .cf, .dt files' do |s| fail ArgumentError, "Path not exist: #{s}" unless File.exist?(s) s end end |