We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 229b137 commit 457023aCopy full SHA for 457023a
.rubocop.yml
@@ -21,3 +21,6 @@ Metrics/PerceivedComplexity:
21
Max: 10
22
Metrics/AbcSize:
23
Max: 29
24
+Style/MethodMissing:
25
+ Exclude:
26
+ - 'libraries/process_env_var.rb'
libraries/process_env_var.rb
@@ -29,11 +29,7 @@ def initialize(process)
29
end
30
31
def method_missing(name)
32
- if read_params[name]
33
- read_params[name.to_s]
34
- else
35
- ''
36
- end
+ read_params[name.to_s] || ''
37
38
39
def read_params
0 commit comments