Module: Lapin
- Defined in:
- lib/lapin.rb,
lib/lapin/config.rb,
lib/lapin/server.rb,
lib/lapin/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.3"
Class Attribute Summary collapse
-
.client ⇒ Object
Returns the value of attribute client.
-
.options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Class Attribute Details
.client ⇒ Object
Returns the value of attribute client.
13 14 15 |
# File 'lib/lapin.rb', line 13 def client @client end |
.options ⇒ Object
Returns the value of attribute options.
12 13 14 |
# File 'lib/lapin.rb', line 12 def @options end |
Class Method Details
.log(msg) ⇒ Object
32 33 34 35 36 37 |
# File 'lib/lapin.rb', line 32 def log(msg) unless .quiet time = Time.now.strftime('%H:%M:%S %Y-%m-%d') puts "** [#{time}] #$$: #{msg}" end end |