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.
- 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
|
|