ure 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/ure/version.rb +1 -1
- data/lib/ure.rb +0 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb5bb37a896ac67dd73e2e69c9836da2a3c58917
|
4
|
+
data.tar.gz: f9fe526891f4922e835198fe603076c23a163d4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f0a755a6c0b538ec984bd7a8e88f801f9d02882f41503ac138a1868b2ee312d295ba7f3e167f839ffbe664f96e019cca684bbf6b3f5e5eaea54d05ffc9e2da3
|
7
|
+
data.tar.gz: c62e15bdb9a0143732ed61e7b3be868bb2097578f0fead0d33e939d3cd88f1bd8c9e4aa8b9d519890a8195aabf322bc6969867a4d8b388dcd5c9028782fb1449
|
data/README.md
CHANGED
@@ -76,6 +76,10 @@ Any methods on `Struct` that require indexing or care about the position of argu
|
|
76
76
|
|
77
77
|
Ure's current public methods are:
|
78
78
|
|
79
|
+
`#==()` - Evaluates the fields. Returns true if the passed argument is an Ure class and they are the same members and values.
|
80
|
+
|
81
|
+
`#members` - Returns an array of the required keywords.
|
82
|
+
|
79
83
|
`#[]` - Because Ure doesn't care about indexing, this allows users to treat instances of Ure as a hash.
|
80
84
|
|
81
85
|
`#each(&block)` - Converts the fields into a hash and calls each on them.
|
data/lib/ure/version.rb
CHANGED
data/lib/ure.rb
CHANGED