(rubocop) Fix Layout/EmptyLinesAroundClassBody

This commit is contained in:
Tim Sharpe 2019-02-03 12:43:27 +11:00
parent edaa3e5645
commit bb9e821d5e
4 changed files with 0 additions and 5 deletions

View file

@ -3,7 +3,6 @@
require 'yaml' require 'yaml'
class Conf class Conf
def self.read_config def self.read_config
conf = {} conf = {}
begin begin

View file

@ -46,5 +46,4 @@ class Http
conn conn
end end
end end

View file

@ -6,7 +6,6 @@ require 'vmfloaty/utils'
require 'vmfloaty/ssh' require 'vmfloaty/ssh'
class Service class Service
attr_reader :config attr_reader :config
def initialize(options, config_hash = {}) def initialize(options, config_hash = {})
@ -135,5 +134,4 @@ class Service
def disk(verbose, hostname, disk) def disk(verbose, hostname, disk)
@service_object.disk(verbose, url, hostname, token, disk) @service_object.disk(verbose, url, hostname, token, disk)
end end
end end

View file

@ -1,7 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
class Ssh class Ssh
def self.which(cmd) def self.which(cmd)
# Gets path of executable for given command # Gets path of executable for given command