Module: Ops
- Defined in:
- lib/ops.rb,
lib/ops/config.rb,
lib/ops/server.rb,
lib/ops/version.rb,
lib/ops/revision.rb,
lib/ops/heartbeat.rb,
lib/ops/server/helpers.rb
Defined Under Namespace
Modules: Helpers Classes: Config, Heartbeat, Revision, Server
Constant Summary collapse
- VERSION =
'0.5.2'
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
- .add_heartbeat(name, &block) ⇒ Object
- .new ⇒ Object
- .rack_app(path) ⇒ Object
- .setup {|config| ... } ⇒ Object
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
36 37 38 |
# File 'lib/ops/config.rb', line 36 def config @config end |
Class Method Details
.add_heartbeat(name, &block) ⇒ Object
37 38 39 |
# File 'lib/ops/heartbeat.rb', line 37 def add_heartbeat(name, &block) Heartbeat.add name, &block end |
.new ⇒ Object
9 10 11 |
# File 'lib/ops.rb', line 9 def new Server.new end |