Fix code style issues from CodeClimate

This commit is contained in:
Artur Beljajev 2018-06-06 03:20:25 +03:00
parent d87f499294
commit 3400a1bd3e
3 changed files with 7 additions and 7 deletions

View file

@ -18,12 +18,12 @@ class SortedCountry
def quick_list
@quick_list ||=
[
['Estonia', 'EE'],
['Finland', 'FI'],
['Latvia', 'LV'],
['Lithuania', 'LT'],
%w[Estonia' EE],
%w[Finland FI],
%w[Latvia LV],
%w[Lithuania LT],
['Russian Federation', 'RU'],
['Sweden', 'SE'],
%w[Sweden SE],
['United States', 'US']
]
end

View file

@ -1,5 +1,5 @@
class Array
def include_any? *args
def include_any?(*args)
(self & args).any?
end
end

View file

@ -1,6 +1,6 @@
class Builder::XmlMarkup
def epp_head
self.instruct!
instruct!
epp(
'xmlns' => 'https://epp.tld.ee/schema/epp-ee-1.0.xsd',
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',