Identities are interfaces. Sometimes it makes more sense to test an identity than a method- but then you don't want to limit flexibility. So why not let objects that claim to implement your interface identify as your object? IdentifiesAs permits objects to identify as if they are other types of objects.
Required Ruby Version
>= 1.9.1
Authors
Asher
Versions
-
1.1.1
-
source
- 1.1.1 source February 11, 2013 (7.5 KB)
-
-
1.1.0
-
source
- 1.1.0 source July 22, 2012 (7.5 KB)
-
-
1.0.10
-
source
- 1.0.10 source July 05, 2012 (7.5 KB)
-
-
1.0.9
-
source
- 1.0.9 source July 05, 2012 (7.5 KB)
-
-
1.0.8
-
source
- 1.0.8 source June 26, 2012 (7.5 KB)
-