moomerman-rambo 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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