Class: MSpec::Opal::Runner::PhantomJS
- Inherits:
 - 
      Opal::Util::Command
      
        
- Object
 - Opal::Util::Command
 - MSpec::Opal::Runner::PhantomJS
 
 
- Defined in:
 - opal/lib/mspec/opal/rake_task.rb
 
Instance Attribute Summary
Attributes inherited from Opal::Util::Command
Instance Method Summary collapse
- 
  
    
      #initialize(runner, url)  ⇒ PhantomJS 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PhantomJS.
 - #run ⇒ Object
 
Constructor Details
#initialize(runner, url) ⇒ PhantomJS
Returns a new instance of PhantomJS
      70 71 72 73 74  | 
    
      # File 'opal/lib/mspec/opal/rake_task.rb', line 70 def initialize(runner, url) runner = runner.shellescape url = url.shellescape super 'phantomjs', "#{runner} #{url}", '. Please install PhantomJS' end  | 
  
Instance Method Details
#run ⇒ Object
      76 77 78  | 
    
      # File 'opal/lib/mspec/opal/rake_task.rb', line 76 def run system "#{command} #{}" end  |