Class: Hanami::View::RenderingMissing Private

Inherits:
Object
  • Object
show all
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.

Since:

  • 2.1.0

Instance Method Summary collapse

Instance Method Details

#contextObject

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.

Raises:

Since:

  • 2.1.0



15
16
17
# File 'lib/hanami/view/rendering_missing.rb', line 15

def context
  raise RenderingMissingError
end

#current_template_nameObject

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.

Since:

  • 2.1.0



39
40
41
# File 'lib/hanami/view/rendering_missing.rb', line 39

def current_template_name
  nil
end

#current_template_namesObject

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.

Since:

  • 2.1.0



43
44
45
# File 'lib/hanami/view/rendering_missing.rb', line 43

def current_template_names
  EMPTY_TEMPLATE_NAMES
end

#formatObject

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.

Raises:

Since:

  • 2.1.0



11
12
13
# File 'lib/hanami/view/rendering_missing.rb', line 11

def format
  raise RenderingMissingError
end

#inflectorObject

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.

Since:

  • 2.1.0



35
36
37
# File 'lib/hanami/view/rendering_missing.rb', line 35

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.

Raises:

Since:

  • 2.1.0



19
20
21
# File 'lib/hanami/view/rendering_missing.rb', line 19

def part(_name, _value, **_options)
  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.

Raises:

Since:

  • 2.1.0



31
32
33
# File 'lib/hanami/view/rendering_missing.rb', line 31

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.

rubocop:disable Style/OptionalArguments

Raises:

Since:

  • 2.1.0



23
24
25
# File 'lib/hanami/view/rendering_missing.rb', line 23

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.

Raises:

Since:

  • 2.1.0



27
28
29
# File 'lib/hanami/view/rendering_missing.rb', line 27

def template(_name, _scope)
  raise RenderingMissingError
end