summaryrefslogtreecommitdiff
path: root/app/models/concerns/has_variable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/has_variable.rb')
-rw-r--r--app/models/concerns/has_variable.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/concerns/has_variable.rb b/app/models/concerns/has_variable.rb
index 3c29e12ad71..8a241e4374a 100644
--- a/app/models/concerns/has_variable.rb
+++ b/app/models/concerns/has_variable.rb
@@ -20,12 +20,8 @@ module HasVariable
super(new_key.to_s.strip)
end
- def to_hash
- { key: key, value: value, public: false }
- end
-
def to_runner_variable
- to_hash
+ { key: key, value: value, public: false }
end
end
end