moomerman-rambo 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README +9 -1
- data/lib/rambo/env.rb +2 -0
- metadata +1 -1
data/README
CHANGED
@@ -3,7 +3,15 @@ To install the gem:
|
|
3
3
|
gem sources -a http://gems.github.com
|
4
4
|
sudo gem install moomerman-rambo
|
5
5
|
|
6
|
-
|
6
|
+
Smallest example (see the hello app in the example folder)
|
7
|
+
|
8
|
+
class HomeController < Rambo::Controller
|
9
|
+
def index
|
10
|
+
"hello world"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
To run the Blog example:
|
7
15
|
|
8
16
|
git clone git://github.com/moomerman/rambo.git
|
9
17
|
cd rambo/example/blog/
|
data/lib/rambo/env.rb
CHANGED