Module: AssLauncher::Cmd::Abstract::Option::Dbsrv Private
- Includes:
- Support::SrvStrParser
- 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
Instance Attribute Summary collapse
- #dbsrv_host ⇒ Object readonly private
- #dbsrv_pass ⇒ Object readonly private
- #dbsrv_user ⇒ Object readonly private
Class Method Summary collapse
- .included(base) ⇒ Object private
Instance Method Summary collapse
- #parse_dbsrv(s) ⇒ Object private
Methods included from Support::SrvStrParser
Instance Attribute Details
#dbsrv_host ⇒ Object (readonly)
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.
305 306 307 |
# File 'lib/ass_launcher/cmd.rb', line 305 def dbsrv_host @dbsrv_host end |
#dbsrv_pass ⇒ Object (readonly)
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.
305 306 307 |
# File 'lib/ass_launcher/cmd.rb', line 305 def dbsrv_pass @dbsrv_pass end |
#dbsrv_user ⇒ Object (readonly)
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.
305 306 307 |
# File 'lib/ass_launcher/cmd.rb', line 305 def dbsrv_user @dbsrv_user end |
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.
311 312 313 314 315 316 |
# File 'lib/ass_launcher/cmd.rb', line 311 def self.included(base) base.option '--dbsrv', 'user:pass@dbsrv', 'db server address' do |s| parse_dbsrv s s end end |
Instance Method Details
#parse_dbsrv(s) ⇒ 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.
307 308 309 |
# File 'lib/ass_launcher/cmd.rb', line 307 def parse_dbsrv(s) @dbsrv_host, @dbsrv_user, @dbsrv_pass = parse_srv_str(s) end |