Class: Neutron::FilePairList
- Inherits:
-
Array
- Object
- Array
- Neutron::FilePairList
- Defined in:
- lib/neutron.rb
Overview
Small extension for array which is developed to be used in Neutron.files()
Instance Method Summary collapse
Instance Method Details
#sources ⇒ Array<String>
68 69 70 71 72 |
# File 'lib/neutron.rb', line 68 def sources self.map do |i| i.source end end |
#targets ⇒ Array<String>
74 75 76 77 78 |
# File 'lib/neutron.rb', line 74 def targets self.map do |i| i.target end end |