lib/fozzie/dsl.rb in fozzie-1.0.2 vs lib/fozzie/dsl.rb in fozzie-1.0.3
- old
+ new
@@ -1,19 +1,19 @@
-require 'singleton'
-require "fozzie/interface"
-
-module Fozzie
- class Dsl
- include Fozzie::Interface, Singleton
-
- private
-
- # Send the statistic to the chosen provider
- #
- def send(stat, value, type, sample_rate = 1)
- val = { :bin => stat, :value => value, :type => type, :sample_rate => sample_rate }
-
- adapter.register(val)
- end
-
- end
+require 'singleton'
+require "fozzie/interface"
+
+module Fozzie
+ class Dsl
+ include Fozzie::Interface, Singleton
+
+ private
+
+ # Send the statistic to the chosen provider
+ #
+ def send(stat, value, type, sample_rate = 1)
+ val = { :bin => stat, :value => value, :type => type, :sample_rate => sample_rate }
+
+ adapter.register(val)
+ end
+
+ end
end
\ No newline at end of file