Module: YandexMetrika::Rails::ViewHelpers

Defined in:
lib/yandex-metrika/rails/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#metrika_init(options = {}) ⇒ Object



4
5
6
# File 'lib/yandex-metrika/rails/view_helpers.rb', line 4

def metrika_init(options = {})
  YandexMetrika::Counter.new(options).to_s
end