Class: Hanami::View::RenderingMissing Private
- Defined in:
- lib/hanami/view/rendering_missing.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #context ⇒ Object private
- #format ⇒ Object private
- #inflector ⇒ Object private
- #part(_name, _value, **_options) ⇒ Object private
- #partial(_name, _scope) ⇒ Object private
- #scope(_name = nil, _locals) ⇒ Object private
- #template(_name, _scope) ⇒ Object private
Instance Method Details
#context ⇒ 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.
19 20 21 |
# File 'lib/hanami/view/rendering_missing.rb', line 19 def context raise RenderingMissingError end |
#format ⇒ 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.
13 14 15 |
# File 'lib/hanami/view/rendering_missing.rb', line 13 def format raise RenderingMissingError end |
#inflector ⇒ 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.
49 50 51 |
# File 'lib/hanami/view/rendering_missing.rb', line 49 def inflector @inflector ||= Dry::Inflector.new end |
#part(_name, _value, **_options) ⇒ 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.
25 26 27 |
# File 'lib/hanami/view/rendering_missing.rb', line 25 def part(_name, _value, **) raise RenderingMissingError end |
#partial(_name, _scope) ⇒ 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.
43 44 45 |
# File 'lib/hanami/view/rendering_missing.rb', line 43 def partial(_name, _scope) raise RenderingMissingError end |
#scope(_name = nil, _locals) ⇒ 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.
31 32 33 |
# File 'lib/hanami/view/rendering_missing.rb', line 31 def scope(_name = nil, _locals) # rubocop:disable Style/OptionalArguments raise RenderingMissingError end |
#template(_name, _scope) ⇒ 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.
37 38 39 |
# File 'lib/hanami/view/rendering_missing.rb', line 37 def template(_name, _scope) raise RenderingMissingError end |