lib/rdf/turtle/reader.rb in rdf-turtle-1.1.0 vs lib/rdf/turtle/reader.rb in rdf-turtle-1.1.0.1
- old
+ new
@@ -250,9 +250,10 @@
def initialize(input = nil, options = {}, &block)
super do
@options = {
:anon_base => "b0",
:validate => false,
+ :whitespace => WS,
}.merge(options)
@options = {:prefixes => {nil => ""}}.merge(@options) unless @options[:validate]
@options[:debug] ||= case
when RDF::Turtle.debug? then true
when @options[:progress] then 2