maiha-merb_inspector 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +6 -1
- data/Rakefile +1 -1
- metadata +1 -1
data/README
CHANGED
@@ -10,7 +10,7 @@ Setup
|
|
10
10
|
|
11
11
|
1. load gem at the bottom of config/dependencies.rb
|
12
12
|
|
13
|
-
|
13
|
+
require "merb_inspector"
|
14
14
|
|
15
15
|
2. include css and js in your view or layout files
|
16
16
|
|
@@ -24,10 +24,15 @@ Example
|
|
24
24
|
just *inspect* the object you want to know!
|
25
25
|
|
26
26
|
<%= inspect [1, :hello] %>
|
27
|
+
<%= inspect ENV.to_hash %>
|
27
28
|
<%= inspect User.all(:limit=>10) %>
|
28
29
|
<%= inspect @item %>
|
29
30
|
...
|
30
31
|
|
32
|
+
of course you can see available inspectors as following
|
33
|
+
|
34
|
+
<%= inspect Merb::Inspector::Manager.stores %>
|
35
|
+
|
31
36
|
|
32
37
|
Copyright (c) 2008 maiha@wota.jp, released under the MIT license
|
33
38
|
|
data/Rakefile
CHANGED