Sha256: 8ad4103a405a366c65d9734eb5290731ca93c971ea4552b944fa218332cba7e3

Contents?: true

Size: 157 Bytes

Versions: 6

Compression:

Stored size: 157 Bytes

Contents

$:.unshift( "../lib" )
require 'capcode'

module Capcode
  class Index < Route '/'
    def get
      render "Hello World"
    end
  end  
end

Capcode.run( )

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
Capcode-0.8.9 examples/render-text.rb
Capcode-0.8.8 examples/render-text.rb
Capcode-0.8.7 examples/render-text.rb
Capcode-0.8.6 examples/render-text.rb
Capcode-0.8.5 examples/render-text.rb
Capcode-0.8.4 examples/render-text.rb