Sha256: 7b0ce4b87dda6ca8714f8a6d8e794c81f90ba75b806dcdeab86c97f823e93d23

Contents?: true

Size: 217 Bytes

Versions: 5

Compression:

Stored size: 217 Bytes

Contents

get "/ex1" do
  begin
    ex1_helper
  rescue NameError
    not_found! "ex1_helper cannot be run"
  end
end

get "/ex2" do
  begin
    ex2_helper
  rescue NameError
    not_found! "ex2_helper cannot be run"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple-httpd-0.3.5 examples/ex2/helpers.rb
simple-httpd-0.3.4 examples/ex2/helpers.rb
simple-httpd-0.3.3 examples/ex2/helpers.rb
simple-httpd-0.3.1 examples/ex2/helpers.rb
simple-httpd-0.3.0 examples/ex2/helpers.rb