Sha256: b38c04f6377fe72a9722c7643ad8ebd875abf506846bd26262180158483bd277

Contents?: true

Size: 389 Bytes

Versions: 42

Compression:

Stored size: 389 Bytes

Contents

module BenchScript

  def BenchScript.build
    return Thing.new{ | bt |
      bt.new_thing("thing") { | t |
        t.new_stuff.kind = "stuff1"
        t.new_description{ | d |
          d.kind = "desc1"
          d << "hello "
          d.new_emph.content = "there"
          d << "! How "
          d.new_emph.content = "are"
          d << " you?"
        }
      }
    }
  end
end



Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
xamplr-1.3.15 lib/xamplr/test-support/bench-script.rb
xamplr-1.2.0 lib/xamplr/test-support/bench-script.rb