darkhelmet-darkext 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/darkext/string.rb +5 -0
- data/lib/darkext/symbol.rb +2 -4
- metadata +2 -2
data/lib/darkext/string.rb
CHANGED
data/lib/darkext/symbol.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
class Symbol
|
2
2
|
# Does exactly what the activesupport version does,
|
3
3
|
# with pretty much the same code.
|
4
|
-
|
5
|
-
|
6
|
-
Proc.new { |*args| args.shift.__send__(self, *args) }
|
7
|
-
end
|
4
|
+
def to_proc
|
5
|
+
Proc.new { |*args| args.shift.__send__(self, *args) }
|
8
6
|
end
|
9
7
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: darkhelmet-darkext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Huckstep
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- /home/helmet/.gem/gem-public_cert.pem
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-26 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|