module YandexMetrica::Rails::ViewHelpers

Public Instance Methods

metrica_init(options = {}) click to toggle source
# File lib/yandex-metrica/rails/view_helpers.rb, line 4
def metrica_init(options = {})
  YandexMetrica::Counter.new(options).to_s
end