class YandexMetrika::Counter::Renderer

Constants

DELIMITER

Attributes

counter_types_collection[R]

Public Class Methods

new(counter_types_collection) click to toggle source
# File lib/yandex-metrika/counter/renderer.rb, line 5
def initialize(counter_types_collection)
  @counter_types_collection = counter_types_collection
end

Public Instance Methods

render()
Alias for: to_s
to_s() click to toggle source
# File lib/yandex-metrika/counter/renderer.rb, line 9
def to_s
  @counter_types_collection.map{|ct| ct.to_s}.join(DELIMITER)
end
Also aliased as: render