diff options
Diffstat (limited to 'qa/qa/runtime/example.rb')
-rw-r--r-- | qa/qa/runtime/example.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qa/qa/runtime/example.rb b/qa/qa/runtime/example.rb new file mode 100644 index 00000000000..cd2119762f5 --- /dev/null +++ b/qa/qa/runtime/example.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module QA + module Runtime + module Example + extend self + + attr_accessor :current + + def location + current.respond_to?(:location) ? current.location : 'unknown' + end + end + end +end |