Sha256: 7d84cf3e9256e0666e9172eaeb24c00e54d7ad793af611a5001d046c4b18a773

Contents?: true

Size: 162 Bytes

Versions: 13

Compression:

Stored size: 162 Bytes

Contents

# frozen_string_literal: true

module Rubocop
  module Changes
    class Shell
      def self.run(command)
        `#{command}`.strip
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rubocop-changes-0.8.1 lib/rubocop/changes/shell.rb
rubocop-changes-0.8.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.7.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.6.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.5.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.4.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.3.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.2.2 lib/rubocop/changes/shell.rb
rubocop-changes-0.2.1 lib/rubocop/changes/shell.rb
rubocop-changes-0.2.0 lib/rubocop/changes/shell.rb
rubocop-changes-0.1.2 lib/rubocop/changes/shell.rb
rubocop-changes-0.1.1 lib/rubocop/changes/shell.rb
rubocop-changes-0.1.0 lib/rubocop/changes/shell.rb