lib/rubycritic/source_control_systems/base.rb in rubycritic-2.6.0 vs lib/rubycritic/source_control_systems/base.rb in rubycritic-2.7.0
- old
+ new
@@ -1,10 +1,9 @@
-require "shellwords"
+require 'shellwords'
module Rubycritic
module SourceControlSystem
-
class Base
@@systems = []
def self.register_system
@@systems << self
@@ -26,12 +25,11 @@
def self.connected_system_names
"#{systems[0...-1].join(', ')} or #{systems[-1]}"
end
end
-
end
end
-require "rubycritic/source_control_systems/double"
-require "rubycritic/source_control_systems/git"
-require "rubycritic/source_control_systems/mercurial"
+require 'rubycritic/source_control_systems/double'
+require 'rubycritic/source_control_systems/git'
+require 'rubycritic/source_control_systems/mercurial'