mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
rubocop
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
require "ostruct"
|
||||
require "pathname"
|
||||
require 'ostruct'
|
||||
require 'pathname'
|
||||
|
||||
class EnvironmentHelper
|
||||
|
||||
attr_writer :domain_name
|
||||
|
||||
attr_accessor :random_hostname, :name, :default_prefix
|
||||
|
||||
def [](value)
|
||||
self.send(value.to_sym)
|
||||
send(value.to_sym)
|
||||
end
|
||||
|
||||
def cpus
|
||||
@@ -34,15 +33,14 @@ class EnvironmentHelper
|
||||
end
|
||||
|
||||
def root_path
|
||||
Pathname.new("./spec/support/foo")
|
||||
Pathname.new('./spec/support/foo')
|
||||
end
|
||||
|
||||
def domain_name
|
||||
#noop
|
||||
# noop
|
||||
end
|
||||
|
||||
def libvirt_compute
|
||||
OpenStruct.new(servers: [])
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user