Sha256: 7ff599669a0c4d0bd6f233575c0f44466b97a7d6907481d1054ccf0d3e293f13

Contents?: true

Size: 971 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.7 data/examples/asciidoc/colist.adoc
asciidoctor-doctest-2.0.0.beta.6 data/examples/asciidoc/colist.adoc
asciidoctor-doctest-2.0.0.beta.5 data/examples/asciidoc/colist.adoc
asciidoctor-doctest-2.0.0.beta.4 data/examples/asciidoc/colist.adoc
asciidoctor-doctest-2.0.0.beta.3 data/examples/asciidoc/colist.adoc