Class: PeekAView::Tools::YSlow
- Defined in:
- lib/peek_a_view/tools/yslow.rb
Instance Method Summary collapse
Methods inherited from Checker
Constructor Details
This class inherits a constructor from PeekAView::Tools::Checker
Instance Method Details
#check(uri) ⇒ Object
8 9 10 |
# File 'lib/peek_a_view/tools/yslow.rb', line 8 def check(uri) system "phantomjs '#{yslow_script}' -f plain '#{uri}'" end |
#report(uri) ⇒ Object
12 13 14 |
# File 'lib/peek_a_view/tools/yslow.rb', line 12 def report(uri) system "phantomjs '#{yslow_script}' -f junit '#{uri}' > '#{report_file(uri)}'" end |