Class: Dry::Files::Delimiter Private

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

Since:

  • 0.3.0

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Since:

  • 0.3.0



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

#closingObject (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.

Since:

  • 0.3.0



846
847
848
# File 'lib/dry/files.rb', line 846

def closing
  @closing
end

#openingObject (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.

Since:

  • 0.3.0



846
847
848
# File 'lib/dry/files.rb', line 846

def opening
  @opening
end