rd 0.0.2 → 0.0.3
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/lib/rklass.rb +1 -1
- metadata +2 -2
data/lib/rklass.rb
CHANGED
@@ -110,7 +110,7 @@ class RKlass
|
|
110
110
|
|
111
111
|
def cout(&blk)
|
112
112
|
if self.respond_to?(@search.to_sym)
|
113
|
-
Formatter.cout(self.send(@search.to_sym
|
113
|
+
yield Formatter.cout(self.send(@search.to_sym)) if block_given?
|
114
114
|
else
|
115
115
|
klass = @search
|
116
116
|
klass = klass.capitalize if !KLASSES.include?(klass)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- 4pcbr
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-27 00:00:00 +04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|