Class: Dry::Files::Delimiter Private
- Inherits:
-
Object
- Object
- Dry::Files::Delimiter
- Defined in:
- lib/dry/files.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
- #closing ⇒ Object readonly private
- #opening ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(name, opening, closing) ⇒ Delimiter
constructor
private
A new instance of Delimiter.
Constructor Details
#initialize(name, opening, closing) ⇒ Delimiter
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 Delimiter.
850 851 852 853 854 855 |
# File 'lib/dry/files.rb', line 850 def initialize(name, opening, closing) @name = name @opening = opening @closing = closing freeze end |
Instance Attribute Details
#closing ⇒ 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.
846 847 848 |
# File 'lib/dry/files.rb', line 846 def closing @closing end |
#opening ⇒ 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.
846 847 848 |
# File 'lib/dry/files.rb', line 846 def opening @opening end |