Class: Blacklight::Rendering::Microdata
- Inherits:
-
AbstractStep
- Object
- AbstractStep
- Blacklight::Rendering::Microdata
- Includes:
- ActionView::Helpers::TagHelper
- Defined in:
- app/presenters/blacklight/rendering/microdata.rb
Instance Attribute Summary
Attributes inherited from AbstractStep
#config, #context, #document, #options, #stack, #values
Instance Method Summary collapse
Methods inherited from AbstractStep
Constructor Details
This class inherits a constructor from Blacklight::Rendering::AbstractStep
Instance Method Details
#render ⇒ Object
7 8 9 10 11 |
# File 'app/presenters/blacklight/rendering/microdata.rb', line 7 def render return next_step(values) unless config.itemprop && html? next_step(values.map { |x| itemprop(x, config.itemprop) }) end |