Sha256: 4cf54135d83cc142979070b2c4963442ce82f5aa71bb234edd689a061e4fc986

Contents?: true

Size: 374 Bytes

Versions: 7

Compression:

Stored size: 374 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'ramaze'

# you can access it now with http://localhost:7000/
# This should output
# Hello, World!
# in your browser

class MainController < Ramaze::Controller
  def index
    "Hello, World!"
  end
end

Ramaze.start

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ramaze-0.1.3 examples/hello.rb
ramaze-0.1.2 examples/hello.rb
ramaze-0.1.4 examples/hello.rb
ramaze-0.1.1 examples/hello.rb
ramaze-0.2.1 examples/hello.rb
ramaze-0.2.0 examples/hello.rb
ramaze-0.3.0 examples/hello.rb