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
|
||||
@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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class Array
|
||||
def include_any? *args
|
||||
def include_any?(*args)
|
||||
(self & args).any?
|
||||
end
|
||||
end
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue