Sha256: 96cbba58efc84f4a76176ce7072cb3c1b729e02341041df1d56de9d8be8f24d9

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

class TwitterCldr.Token

  constructor : (options = {}) ->
    for k, v of options
      @[k] = v

  to_hash : ->
    { "value" : @value, "type" : @type }

  to_string : ->
    @value

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/token.coffee
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/token.coffee
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/mustache/implementation/tokenizers/token.coffee
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/token.coffee