Method: Chars::CharSet#initialize_copy

Defined in:
lib/chars/char_set.rb

#initialize_copy(other) ⇒ Object

Initializes the copy of another Chars::CharSet object.

Parameters:



40
41
42
# File 'lib/chars/char_set.rb', line 40

def initialize_copy(other)
  @chars = other.instance_variable_get('@chars').dup
end