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.
@@ -26,5 +26,10 @@ class String
26
26
  return `#{cmd}` if opts[:capture]
27
27
  end
28
28
 
29
+ # Prints the String using print
30
+ def print
31
+ print self
32
+ end
33
+
29
34
  alias :/ :split
30
35
  end
@@ -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
- unless :to_proc.respond_to?(:to_proc)
5
- def to_proc
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.1
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-25 00:00:00 -08:00
12
+ date: 2008-11-26 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency