Method: Bundler::Thor::Command#initialize_copy

Defined in:
lib/bundler/vendor/thor/lib/thor/command.rb

#initialize_copy(other) ⇒ Object

:nodoc:

[View source]

9
10
11
12
13
# File 'lib/bundler/vendor/thor/lib/thor/command.rb', line 9

def initialize_copy(other) #:nodoc:
  super(other)
  self.options = other.options.dup if other.options
  self.options_relation = other.options_relation.dup if other.options_relation
end