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