Class: Neutron::FilePair

Inherits:
Object
  • Object
show all
Defined in:
lib/neutron.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source, target) ⇒ FilePair

Returns a new instance of FilePair.



83
84
85
86
# File 'lib/neutron.rb', line 83

def initialize(source, target)
  @target = target
  @source = source
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



82
83
84
# File 'lib/neutron.rb', line 82

def source
  @source
end

#targetObject (readonly)

Returns the value of attribute target.



82
83
84
# File 'lib/neutron.rb', line 82

def target
  @target
end