identifies_as 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +5 -1
  2. data/README.rdoc +5 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -4,7 +4,11 @@ http://rubygems.org/gems/identifies_as
4
4
 
5
5
  # Summary #
6
6
 
7
- Permits objects to identify as if they are other types of objects. Effects :is_a? and :===.
7
+ Identities are interfaces. Sometimes it makes more sense to test an identity than a method- but then you don't want to limit flexibility.
8
+
9
+ So why not let objects that claim to implement your interface identify as your object?
10
+
11
+ IdentifiesAs permits objects to identify as if they are other types of objects.
8
12
 
9
13
  # Description #
10
14
 
data/README.rdoc CHANGED
@@ -4,7 +4,11 @@ http://rubygems.org/gems/identifies_as
4
4
 
5
5
  == Summary
6
6
 
7
- Permits objects to identify as if they are other types of objects. Effects :is_a? and :===.
7
+ Identities are interfaces. Sometimes it makes more sense to test an identity than a method- but then you don't want to limit flexibility.
8
+
9
+ So why not let objects that claim to implement your interface identify as your object?
10
+
11
+ IdentifiesAs permits objects to identify as if they are other types of objects.
8
12
 
9
13
  == Description
10
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identifies_as
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: