Sha256: 70201cd7257fcaa6bd6e7c13b14b4e306be869eee28e56b359c57f143507d25c
Contents?: true
Size: 485 Bytes
Versions: 12
Compression:
Stored size: 485 Bytes
Contents
(function (tree) { tree.Keyword = function (value) { this.value = value }; tree.Keyword.prototype = { eval: function () { return this }, toCSS: function () { return this.value }, compare: function (other) { if (other instanceof tree.Keyword) { return other.value === this.value ? 0 : 1; } else { return -1; } } }; tree.True = new(tree.Keyword)('true'); tree.False = new(tree.Keyword)('false'); })(require('../tree'));
Version data entries
12 entries across 12 versions & 1 rubygems