monkey-lib 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/monkey/ext/object.rb +2 -2
- metadata +2 -2
data/lib/monkey/ext/object.rb
CHANGED
@@ -25,8 +25,8 @@ module Monkey
|
|
25
25
|
block.arity > 0 ? yield(self) : instance_eval(&block)
|
26
26
|
end
|
27
27
|
|
28
|
-
def metaclass_eval(
|
29
|
-
metaclass.class_eval(
|
28
|
+
def metaclass_eval(&block)
|
29
|
+
metaclass.class_eval(&block)
|
30
30
|
end
|
31
31
|
|
32
32
|
def define_singleton_method(name, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monkey-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-19 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|