class Tml::Tokens::XMessage::Data

Param 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}}.

Public Class Methods

new(label, opts) click to toggle source
# File lib/tml/tokens/x_message/data.rb, line 43
def initialize(label, opts)
  @label = label
  @short_name = opts[:index]
  @full_name = "{#{@short_name}}"
  @case_keys = []
  @context_keys = []
  # if opts[:styles]
  #   @case_keys = []
  # end
end