Class: RhoDevelopment::RhofilelistLoader

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

Class Method Summary collapse

Class Method Details

.loadFromFile(aString) ⇒ Object



95
96
97
98
# File 'lib/build/rhoDevelopment.rb', line 95

def self.loadFromFile(aString)
   result = File.open(aString, 'r').lines.collect {|each| RhofilelistItem.fromString(each)}
   return result.select {|each| each.allowedForDetectingChanges?}
end