module YandexMetrika::Rails::ViewHelpers

Public Instance Methods

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