Method: CatMetrics.setup
- Defined in:
- lib/cat_metrics.rb
.setup {|config| ... } ⇒ Object
18 19 20 21 22 |
# File 'lib/cat_metrics.rb', line 18 def setup puts "module CatMerics :: class self :: def setup" self.config ||= Configuration.new yield(config) if block_given? end |