Module: YandexMetrica::Rails::ViewHelpers

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

Instance Method Summary collapse

Instance Method Details

#metrica_init(options = {}) ⇒ Object



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

def metrica_init(options = {})
  YandexMetrica::Counter.new(options).to_s
end