- From: Ian Dickinson <i.j.dickinson@gmail.com>
- Date: Wed, 27 Nov 2013 17:28:36 +0000
- To: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
On Wed, Nov 27, 2013 at 4:49 PM, Gregg Kellogg <gregg@greggkellogg.net> wrote: > On Nov 27, 2013, at 8:43 AM, Ian Dickinson <i.j.dickinson@gmail.com> wrote: > That should be farily straight-forward to do. Note that you can also do the following: > > 2.0.0-p353 :007 > g.dump(:ttl, prefixes: {foo: "http://foo.com/schema#"} ) > => "@prefix foo: <http://foo.com/schema#> .\n\nfoo:s foo:p foo:o .\n" Awesome, thanks Gregg! > Other things typically used by writers are :base_uri, and :standard_prefixes. > > Create an issue, or better-yet, a pull request, to get it included. Will-do, but your solution above gives me what I need for now. Ian
Received on Wednesday, 27 November 2013 17:29:04 UTC