Module: Rstatsd
- Defined in:
- lib/rstatsd.rb,
lib/rstatsd/chart.rb,
lib/rstatsd/config.rb,
lib/rstatsd/server.rb,
lib/rstatsd/helpers.rb,
lib/rstatsd/version.rb,
lib/rstatsd/collector.rb
Defined Under Namespace
Modules: Helpers Classes: Chart, Collector, Configuration, Server
Constant Summary collapse
- VERSION =
0.3
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
2 3 4 |
# File 'lib/rstatsd/config.rb', line 2 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
4 5 6 7 8 |
# File 'lib/rstatsd/config.rb', line 4 def self.configure configuration ||= Configuration.new() yield(configuration) @configuration = configuration end |