Class: Neutron::FilePair
- Inherits:
-
Object
- Object
- Neutron::FilePair
- Defined in:
- lib/neutron.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(source, target) ⇒ FilePair
constructor
A new instance of FilePair.
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
#source ⇒ Object (readonly)
Returns the value of attribute source.
82 83 84 |
# File 'lib/neutron.rb', line 82 def source @source end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
82 83 84 |
# File 'lib/neutron.rb', line 82 def target @target end |