public
Rubygem
Description: log_buddy is your friendly little log buddy by your side
Homepage: http://opensource.thinkrelevance.com/wiki/log_buddy
Clone URL: git://github.com/relevance/logbuddy.git
indent
rsanheim (author)
Fri Apr 04 06:45:34 -0700 2008
commit  c00ac20a835b3eb56a140feb7ccae4063c908bf7
tree    b75d94141e70bbb57e7d293da6928b48cabac0c8
parent  75bfbf7c112cc1272b7797ad5a3e1df773b7fd2d
...
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
 
 
 
 
 
 
 
 
 
 
35
36
37
...
20
21
22
 
 
 
 
 
 
 
 
 
 
 
 
23
24
25
26
27
28
29
30
31
32
33
34
35
36
0
@@ -20,18 +20,17 @@ Call LogBuddy.init to use log_buddy. It will add two methods to object instance
0
 
0
 (see also examples.rb)
0
 
0
-a = "foo"
0
-
0
-@a = "my var"
0
-@@bar = "class var!"
0
-def bark
0
- "woof!"
0
-end
0
-
0
-d { a } # logs "a = 'foo'"
0
-d { @a } # logs "@a = 'my var'"
0
-d { @@bar } # logs "@@bar = 'class var!'"
0
-d { bark } # logs "bark = woof!"
0
+ a = "foo"
0
+ @a = "my var"
0
+ @@bar = "class var!"
0
+ def bark
0
+ "woof!"
0
+ end
0
+
0
+ d { a } # logs "a = 'foo'"
0
+ d { @a } # logs "@a = 'my var'"
0
+ d { @@bar } # logs "@@bar = 'class var!'"
0
+ d { bark } # logs "bark = woof!"
0
 
0
 
0
 == REQUIREMENTS:

Comments

    No one has commented yet.