Sha256: 595deab2115891b39426a8d86e9111c2c41f9ddb2ac88370135c35ee375e5f67

Contents?: true

Size: 322 Bytes

Versions: 16

Compression:

Stored size: 322 Bytes

Contents

module Bind
  module Actions
    class RefreshBrowsers
      
      attr_accessor :browsers, :uri
      
      def initialize uri, *browsers
        @uri, @browsers = uri, browsers
      end
      
      def call file
        @browsers.each { |browser| `open -g -a #{browser} #{uri}` } 
      end
      
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
visionmedia-bind-0.0.2 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.0.5 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.0.6 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.0.7 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.0.8 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.0.9 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.1.0 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.0 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.1 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.2 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.4 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.5 lib/bind/actions/refresh_browsers.rb
visionmedia-bind-0.2.6 lib/bind/actions/refresh_browsers.rb
bind-0.2.8 lib/bind/actions/refresh_browsers.rb
bind-0.2.7 lib/bind/actions/refresh_browsers.rb
bind-0.2.6 lib/bind/actions/refresh_browsers.rb