# File lib/rdf/redland/model.rb, line 217 def triples_with_context(context=nil) mystream = self.as_stream(context) stream = Stream.new(mystream,self) while not stream.end? my_statement = mystream.current yield my_statement.subject,my_statement.predicate,my_statement.object,mystream.context stream.next end end