Sha256: bd5e515be80bf002c94f182d5450ec89338c2b4d0ef7de1f7d4e51a314e6ddb1

Contents?: true

Size: 127 Bytes

Versions: 2

Compression:

Stored size: 127 Bytes

Contents

module CLIUtils
  class OpenUrlAction < PrefAction
    def run(parameters)
      `open #{ parameters[:url] }`
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cliutils-1.4.2 lib/cliutils/prefs/pref_actions/open_url_action.rb
cliutils-1.4.1 lib/cliutils/prefs/pref_actions/open_url_action.rb