Class: Blacklight::Rendering::HelperMethod

Inherits:
AbstractStep show all
Defined in:
app/presenters/blacklight/rendering/helper_method.rb

Instance Attribute Summary

Attributes inherited from AbstractStep

#config, #context, #document, #options, #stack, #values

Instance Method Summary collapse

Methods inherited from AbstractStep

#initialize

Constructor Details

This class inherits a constructor from Blacklight::Rendering::AbstractStep

Instance Method Details

#renderObject



6
7
8
9
10
11
12
# File 'app/presenters/blacklight/rendering/helper_method.rb', line 6

def render
  if config.helper_method
    render_helper # short circut the rest of the steps
  else
    next_step(values)
  end
end