Skip to content

Commit

Permalink
#2 Parial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Suszyński Krzysztof committed Nov 30, 2015
1 parent 762a270 commit 0528dee
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/revamp/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
# A main application class
class Revamp::Application
def initialize(options)
@options = options
@filenames = options[:filenames]
@options = options
collected = nil
unless options[:filenames].nil?
collected = []
options[:filenames].each do |file|
collected << Dir.glob(file)
end
end
@filenames = collected
@format = :rpm
end

Expand Down

0 comments on commit 0528dee

Please sign in to comment.