is_same 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.rdoc +7 -5
  2. metadata +4 -5
data/README.rdoc CHANGED
@@ -5,7 +5,9 @@
5
5
 
6
6
  == Why?
7
7
 
8
- To evulate if different kind of objects have the same value or meaning. Supports Regexp.
8
+ To evaluate if different kind of objects have the same value or meaning, comparing objects without the need to worry about their type.
9
+
10
+ Supports Regexp.
9
11
 
10
12
 
11
13
  == Usage
@@ -13,13 +15,13 @@ To evulate if different kind of objects have the same value or meaning. Supports
13
15
  include 'is_same'
14
16
 
15
17
 
16
- # These evulate to False:
18
+ # These evaluate to False:
17
19
 
18
- "String".is_same?("tring") # Same as: "String" == "tring"
19
- Object.new.is_same(Object.new) # Same as: Object.new == Object.new
20
+ "String".is_same?("tring") # Same as: "String" == "tring"
21
+ Object.new.is_same?(Object.new) # Same as: Object.new == Object.new
20
22
 
21
23
 
22
- # These evulate to True:
24
+ # These evaluate to True:
23
25
 
24
26
  :String.is_same?("String") # Same as: :String.to_s == "String"
25
27
  String.is_same?(/tring/) # Same as: /tring/.match(String.name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_same
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,8 +11,8 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-01-12 00:00:00.000000000Z
13
13
  dependencies: []
14
- description: To evulate if different kind of objects have the same value. Supports
15
- Regexp.
14
+ description: To evaluate if different kind of objects have the same value or meaning,
15
+ comparing objects without the need to worry about their type. Supports regexp.
16
16
  email: margus@tione.eu
17
17
  executables: []
18
18
  extensions: []
@@ -44,6 +44,5 @@ rubyforge_project:
44
44
  rubygems_version: 1.8.15
45
45
  signing_key:
46
46
  specification_version: 3
47
- summary: Introduces is_same? method to compare if different types of objects have
48
- the same meaning.
47
+ summary: Compare objects without the need to worry about their type.
49
48
  test_files: []