class RoadForest::TypeHandlers::RDFaWriter::PropertyAffordanceDecorator
Public Class Methods
can_decorate?(env)
click to toggle source
# File lib/roadforest/type-handlers/rdfa-writer/environment-decorator.rb, line 275 def self.can_decorate?(env) return false unless (env._base_env_.class <= PropertyEnvironment) return false unless (env.parent.like_a? AffordanceDecorator) return true end