Class: Dry::View::RenderEnvironmentMissing Private
- Inherits:
-
Object
- Object
- Dry::View::RenderEnvironmentMissing
- Defined in:
- lib/dry/view/render_environment_missing.rb
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.
Defined Under Namespace
Classes: MissingEnvironmentError
Instance Method Summary collapse
- #context ⇒ Object private
- #format ⇒ Object private
- #inflector ⇒ Object private
- #part(name, value, **options) ⇒ Object private
- #partial(name, scope, &block) ⇒ Object private
- #scope(name = nil, locals) ⇒ Object private
- #template(name, scope, &block) ⇒ 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/dry/view/render_environment_missing.rb', line 19 def context raise MissingEnvironmentError 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.
15 16 17 |
# File 'lib/dry/view/render_environment_missing.rb', line 15 def format raise MissingEnvironmentError 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.
39 40 41 |
# File 'lib/dry/view/render_environment_missing.rb', line 39 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.
23 24 25 |
# File 'lib/dry/view/render_environment_missing.rb', line 23 def part(name, value, **) raise MissingEnvironmentError end |
#partial(name, scope, &block) ⇒ 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.
35 36 37 |
# File 'lib/dry/view/render_environment_missing.rb', line 35 def partial(name, scope, &block) raise MissingEnvironmentError 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.
27 28 29 |
# File 'lib/dry/view/render_environment_missing.rb', line 27 def scope(name = nil, locals) raise MissingEnvironmentError end |
#template(name, scope, &block) ⇒ 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/dry/view/render_environment_missing.rb', line 31 def template(name, scope, &block) raise MissingEnvironmentError end |