identifies_as 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -1
- data/README.rdoc +5 -1
- 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
|
-
|
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
|
-
|
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
|
|