Sha256: 8dae235b0cd6e3f9f62026633c3736fd480040dde6717a2b96bdad093d54d260

Contents?: true

Size: 173 Bytes

Versions: 15

Compression:

Stored size: 173 Bytes

Contents

class Upcasing < WLang::Dialect

  tag "$" do |buf, fn|
    buf << render(fn).upcase
  end

  tag "#" do |buf, fn|
    if x = evaluate(fn)
      buf << x
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wlang-3.0.1 spec/fixtures/dialect/upcasing.rb
wlang-3.0.0 spec/fixtures/dialect/upcasing.rb
wlang-2.3.1 spec/fixtures/dialect/upcasing.rb
wlang-2.3.0 spec/fixtures/dialect/upcasing.rb
wlang-2.2.4 spec/fixtures/dialect/upcasing.rb
wlang-2.2.3 spec/fixtures/dialect/upcasing.rb
wlang-2.2.2 spec/fixtures/dialect/upcasing.rb
wlang-2.2.1 spec/fixtures/dialect/upcasing.rb
wlang-2.2.0 spec/fixtures/dialect/upcasing.rb
wlang-2.1.2 spec/fixtures/dialect/upcasing.rb
wlang-2.1.1 spec/fixtures/dialect/upcasing.rb
wlang-2.1.0 spec/fixtures/dialect/upcasing.rb
wlang-2.0.1 spec/fixtures/dialect/upcasing.rb
wlang-2.0.0 spec/fixtures/dialect/upcasing.rb
wlang-2.0.0.beta spec/fixtures/dialect/upcasing.rb