class RoadForest::TypeHandlers::RDFaWriter::DecorationSet
Attributes
names[RW]
Public Class Methods
new()
click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb, line 87 def initialize @names = EnvironmentDecorator.all_names end
Public Instance Methods
decoration_for(env)
click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb, line 92 def decoration_for(env) names.inject(env) do |env, name| EnvironmentDecorator[name].perhaps_decorate(env) end end