xml-mixup 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/lib/xml/mixup/version.rb +1 -1
- data/lib/xml/mixup.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16acef61e57573ecc6130c2f85b2026c469c6d767622ebe6e948b133022807bf
|
4
|
+
data.tar.gz: 2e57c480714d5c8ec39dd8e8b5d9dcd017241854abf09b3f096e0a20ea71a6db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e37f1fc13e2b437215c84b031c24586191dc4233a6016fbb63119cb01f9548e52b38a0a3cfe5c65e6e22535ad74665821bd4ce6fa1442c6aefa2a3ce9a76b845
|
7
|
+
data.tar.gz: 7d49d0d3ef9fa95b97004904e0c449595e4f56568469b3d02c60cd81223c7c8e19d0f94bdd6ad902685a6da1f8421a76cfbad9c131f1d8f310f0c03e9ef736b4
|
data/README.md
CHANGED
@@ -202,9 +202,16 @@ https://github.com/doriantaylor/rb-xml-mixup.
|
|
202
202
|
|
203
203
|
As mentioned, this is pretty much a straight-across port
|
204
204
|
of [Role::Markup::XML](https://metacpan.org/pod/Role::Markup::XML),
|
205
|
-
where it makes sense to bolt a bunch of
|
206
|
-
methods onto an object so you can use them to
|
207
|
-
methods.
|
205
|
+
where it makes sense in Perl to bolt a bunch of related pseudo-private
|
206
|
+
`_FOO`-looking instance methods onto an object so you can use them to
|
207
|
+
make more streamlined methods. This may or may not make the same kind
|
208
|
+
of sense with Ruby.
|
209
|
+
|
210
|
+
In particular, these methods do not touch the calling object's
|
211
|
+
state. In fact they should be completely stateless nad side-effect
|
212
|
+
free. Likewise, they are really meant to be private. As such, it may
|
213
|
+
make sense to simply bundle them as class methods and use them as
|
214
|
+
such. I don't know, I haven't decided yet.
|
208
215
|
|
209
216
|
## License
|
210
217
|
|
data/lib/xml/mixup/version.rb
CHANGED
data/lib/xml/mixup.rb
CHANGED
@@ -359,6 +359,10 @@ module XML::Mixup
|
|
359
359
|
# Generates an XHTML stub, with optional RDFa attributes. All
|
360
360
|
# parameters are optional.
|
361
361
|
#
|
362
|
+
# __This method is still under development.__ I am still trying to
|
363
|
+
# figure out how I want it to behave. Some parts may not work as
|
364
|
+
# advertised.
|
365
|
+
#
|
362
366
|
# @param doc [Nokogiri::XML::Document, nil] an optional document.
|
363
367
|
#
|
364
368
|
# @param base [#to_s] the contents of +<base href=""/>+.
|