atom-beautify/examples/nested-jsbeautifyrc/ruby/expected/test.rb

21 lines
463 B
Ruby
Raw Permalink Normal View History

2014-06-15 21:09:12 -06:00
#!/usr/bin/env ruby
conn_hash = { hosts: [
2014-06-15 21:09:12 -06:00
{ login: login, passcode: passcode, host: host, port: port }
],
reliable: false, # Override default
connect_headers: conn_hdrs }
2014-06-15 21:09:12 -06:00
hash = { hosts: [
2014-06-15 21:09:12 -06:00
{ login: user, passcode: password, host: 'noonehome', port: 2525 },
2014-06-15 21:09:12 -06:00
{ login: user, passcode: password, host: host, port: port }
2014-06-15 21:09:12 -06:00
],
2014-06-15 21:09:12 -06:00
2018-03-05 09:27:40 -07:00
logger: mylog, # This enables callback logging!
2014-06-15 21:09:12 -06:00
max_reconnect_attempts: 5 }