Sha256: 97b5952f1f245d1e64337227fbba79c4c7346a69a0edeac9acb00c8b7109d1c8

Contents?: true

Size: 971 Bytes

Versions: 7

Compression:

Stored size: 971 Bytes

Contents

// .basic
// This example should assert only callouts list below the code listing.
// For callouts inside the listing is responsible inline_callout.
[source, ruby]
----
require 'sinatra' // <1>

get '/hi' do  # <2>
  "Hello World!" ;; <3>
end
----
<1> Library import
<2> URL mapping
<3> Content for response

// .with_title
// This example should assert only callouts list below the code listing.
// For callouts inside the listing is responsible inline_callout.
[source, ruby]
----
require 'sinatra' // <1>

get '/hi' do  # <2>
  "Hello World!" ;; <3>
end
----
.Description
<1> Library import
<2> URL mapping
<3> Content for response

// .with_id_and_role
// This example should assert only callouts list below the code listing.
// For callouts inside the listing is responsible inline_callout.
[source, ruby]
----
require 'sinatra' // <1>

get '/hi' do  # <2>
  "Hello World!" ;; <3>
end
----
[#call.sinatra]
<1> Library import
<2> URL mapping
<3> Content for response

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.2 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-2.0.0.beta.1 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-1.5.2.0 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-1.5.1.2 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-1.5.1.1 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-1.5.1 data/examples/asciidoc/block_colist.adoc
asciidoctor-doctest-1.5.0 data/examples/asciidoc/block_colist.adoc