lib/json/ld/writer.rb in json-ld-0.3.0 vs lib/json/ld/writer.rb in json-ld-0.3.1
- old
+ new
@@ -52,14 +52,14 @@
# @author [Gregg Kellogg](http://greggkellogg.net/)
class Writer < RDF::Writer
include Utils
format Format
- # @attr [RDF::Graph] Graph of statements serialized
- attr :graph
+ # @attr_reader [RDF::Graph] Graph of statements serialized
+ attr_reader :graph
- # @attr [EvaluationContext] context used to load and administer contexts
- attr :context
+ # @attr_reader [EvaluationContext] context used to load and administer contexts
+ attr_reader :context
##
# Override normal symbol generation
def self.to_sym
:jsonld