Sha256: 3a200516779f5741969eefcbba3f3e78b2df55488764c9dc56260f962acfb0f5

Contents?: true

Size: 492 Bytes

Versions: 6

Compression:

Stored size: 492 Bytes

Contents

require "sinatra"
require "slim"

set :slim, layout: :layout

get "/a" do
  slim <<_SLIM_
a id="href_hoge" href="hoge"
a id="href_fuga" href="fuga"
a id="onclick_hoge" onclick="hoge"
_SLIM_
end

get "/@class" do
  slim <<_SLIM_
a id="hoge_fuga" class="hoge fuga"
a id="fuga_ugu"  class="fuga ugu"
_SLIM_
end

get "/text" do
  slim <<_SLIM_
a id="text_hoge_href_hoge" href="hoge"
  | hoge
a id="text_fuga_href_hoge" href="hoge"
  | fuga
_SLIM_
end

__END__

@@ layout
html
  body
    == yield

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wildcard_finders-0.2.1 spec/test_app.rb
wildcard_finders-0.2.0 spec/test_app.rb
wildcard_finders-0.1.1 spec/test_app.rb
wildcard_finders-0.1.0 spec/test_app.rb
wildcard_finders-0.0.4 spec/test_app.rb
wildcard_finders-0.0.3 spec/test_app.rb