mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Fix code style issues from CodeClimate
This commit is contained in:
parent
d87f499294
commit
3400a1bd3e
3 changed files with 7 additions and 7 deletions
|
@ -18,12 +18,12 @@ class SortedCountry
|
||||||
def quick_list
|
def quick_list
|
||||||
@quick_list ||=
|
@quick_list ||=
|
||||||
[
|
[
|
||||||
['Estonia', 'EE'],
|
%w[Estonia' EE],
|
||||||
['Finland', 'FI'],
|
%w[Finland FI],
|
||||||
['Latvia', 'LV'],
|
%w[Latvia LV],
|
||||||
['Lithuania', 'LT'],
|
%w[Lithuania LT],
|
||||||
['Russian Federation', 'RU'],
|
['Russian Federation', 'RU'],
|
||||||
['Sweden', 'SE'],
|
%w[Sweden SE],
|
||||||
['United States', 'US']
|
['United States', 'US']
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
class Array
|
class Array
|
||||||
def include_any? *args
|
def include_any?(*args)
|
||||||
(self & args).any?
|
(self & args).any?
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -1,6 +1,6 @@
|
||||||
class Builder::XmlMarkup
|
class Builder::XmlMarkup
|
||||||
def epp_head
|
def epp_head
|
||||||
self.instruct!
|
instruct!
|
||||||
epp(
|
epp(
|
||||||
'xmlns' => 'https://epp.tld.ee/schema/epp-ee-1.0.xsd',
|
'xmlns' => 'https://epp.tld.ee/schema/epp-ee-1.0.xsd',
|
||||||
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
|
'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue