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

Class Method Summary collapse

Instance Attribute Details

#configurationObject

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

Yields:



4
5
6
7
8
# File 'lib/rstatsd/config.rb', line 4

def self.configure
  configuration ||= Configuration.new()
  yield(configuration)
  @configuration = configuration
end