Class: Theine::Client
- Inherits:
-
Object
- Object
- Theine::Client
- Defined in:
- lib/theine/client.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/theine/client.rb', line 13 def initialize @config = ConfigReader.new(Dir.pwd) @argv = ARGV.dup begin connect_worker run_command attach_screen exit_prompt end end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
11 12 13 |
# File 'lib/theine/client.rb', line 11 def config @config end |
Class Method Details
.start ⇒ Object
7 8 9 |
# File 'lib/theine/client.rb', line 7 def self.start new end |