class RoadForest::TypeHandlers::RDFaWriter::ObjectEnvironment

Attributes

inlist[RW]
object[RW]
predicate[RW]

Public Instance Methods

attrs()
Alias for: simple_attrs
literal?() click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/object-environment.rb, line 17
def literal?
  object.literal?
end
simple_attrs() click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/object-environment.rb, line 7
def simple_attrs
  {:property => get_curie(predicate), :content => get_content(object), :lang => get_lang(object), :datatype => get_dt_curie(object), :inlist => inlist}
end
Also aliased as: attrs
template_kinds() click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/object-environment.rb, line 13
def template_kinds
  %w{object}
end