class Tml::Tokens::XMessage::Map

Map Token

{0} tagged himself/herself in {1,choice,singular#{1,number} {2,map,photo#photo|video#video}|plural#{1,number} {2,map,photo#photos|video#videos}}.

Attributes

params[RW]

Public Class Methods

new(label, opts) click to toggle source
# File lib/tml/tokens/x_message/map.rb, line 45
def initialize(label, opts)
  @label = label
  @short_name = opts[:index]
  @full_name = "{#{@short_name}}"
  @params = opts[:styles].collect{|style| style[:key]}
  @case_keys = []
  @context_keys = []
end