Class: Hanami::View::Rendering::PartialFile Private
- Inherits:
-
Object
- Object
- Hanami::View::Rendering::PartialFile
- Defined in:
- lib/hanami/view/rendering/partial_file.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 Attribute Summary collapse
- #format ⇒ Object readonly private
- #key ⇒ Object readonly private
- #template ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(key, format, template) ⇒ PartialFile
constructor
private
A new instance of PartialFile.
Constructor Details
#initialize(key, format, template) ⇒ PartialFile
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.
Returns a new instance of PartialFile.
21 22 23 24 25 |
# File 'lib/hanami/view/rendering/partial_file.rb', line 21 def initialize(key, format, template) @key = key @format = format @template = template end |
Instance Attribute Details
#format ⇒ Object (readonly)
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/partial_file.rb', line 13 def format @format end |
#key ⇒ Object (readonly)
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.
9 10 11 |
# File 'lib/hanami/view/rendering/partial_file.rb', line 9 def key @key end |
#template ⇒ Object (readonly)
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.
17 18 19 |
# File 'lib/hanami/view/rendering/partial_file.rb', line 17 def template @template end |