Class: Telegram::CLIArguments
- Inherits:
-
Object
- Object
- Telegram::CLIArguments
- Defined in:
- lib/telegram/cli_arguments.rb
Overview
Command line arguments for telegram-cli
Instance Method Summary collapse
-
#initialize(config) ⇒ CLIArguments
constructor
A new instance of CLIArguments.
- #to_s ⇒ Object
Constructor Details
#initialize(config) ⇒ CLIArguments
Returns a new instance of CLIArguments.
4 5 6 |
# File 'lib/telegram/cli_arguments.rb', line 4 def initialize(config) @config = config end |
Instance Method Details
#to_s ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/telegram/cli_arguments.rb', line 8 def to_s [ disable_colors, rsa_key, disable_names, wait_dialog_list, udp_socket, json, disable_readline, profile, config_file ].compact.join(' ') end |