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
- #closing_matcher ⇒ Object private
-
#initialize(name, opening, closing) ⇒ Delimiter
constructor
private
A new instance of Delimiter.
- #opening_matcher ⇒ Object private
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.
874 875 876 877 878 879 |
# File 'lib/dry/files.rb', line 874 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.
870 871 872 |
# File 'lib/dry/files.rb', line 870 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.
870 871 872 |
# File 'lib/dry/files.rb', line 870 def opening @opening end |
Instance Method Details
#closing_matcher ⇒ 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.
889 890 891 |
# File 'lib/dry/files.rb', line 889 def closing_matcher matcher(closing) end |
#opening_matcher ⇒ 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.
883 884 885 |
# File 'lib/dry/files.rb', line 883 def opening_matcher matcher(opening) end |