Browse files

Better method name.

  • Loading branch information...
1 parent 577f919 commit 0dbcf26ccca03ba54a6bce9b67e3b1ab27fc1d56 @jarib committed Jan 10, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/har/viewer.rb
View
5 lib/har/viewer.rb
@@ -9,8 +9,7 @@ def initialize(args)
@running = false
@options = parse(args)
- hars = create_archives args
- @har = merge hars
+ @har = merge archives_from(args)
end
def show
@@ -21,7 +20,7 @@ def show
private
- def create_archives(hars)
+ def archives_from(hars)
hars = hars.map { |path| Archive.from_file(path) }
hars.each { |h| h.validate! }
end

0 comments on commit 0dbcf26

Please sign in to comment.