Module: Nanoc::Spec::HelperHelper Private
- Defined in:
- lib/nanoc/spec.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #ctx ⇒ Object private
- #helper ⇒ Object private
Instance Method Details
#ctx ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
208 209 210 |
# File 'lib/nanoc/spec.rb', line 208 def ctx @_ctx ||= HelperContext.new(described_class) end |
#helper ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
212 213 214 |
# File 'lib/nanoc/spec.rb', line 212 def helper @_helper ||= ctx.helper end |