santas_little_helper 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/santas_little_helper.rb +11 -1
  2. metadata +5 -4
@@ -46,4 +46,14 @@ class FalseClass
46
46
  "Can't you leave me alone? I don't have anything!"
47
47
  end
48
48
  end
49
-
49
+ class NilClass
50
+ def to_i
51
+ 0
52
+ end
53
+ def to_h
54
+ ""
55
+ end
56
+ def to_teenager
57
+ "Zip! Nada! Babkis! Nothing to see here! Get out of my room!"
58
+ end
59
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: santas_little_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-15 00:00:00.000000000Z
12
+ date: 2012-01-11 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! 'This is a collection of useful little snippets that I used through
15
15
  out various projects. If there is something you would like to add either check it
@@ -42,8 +42,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  version: '0'
43
43
  requirements: []
44
44
  rubyforge_project:
45
- rubygems_version: 1.7.2
45
+ rubygems_version: 1.8.11
46
46
  signing_key:
47
47
  specification_version: 3
48
- summary: It's dumb just like the famous dog, but it may surprise you.
48
+ summary: It's dumb just like the famous dog, but it may surprise you. It modifies
49
+ core classes, use at your own risk!
49
50
  test_files: []