lib/headdesk/checks/teak.rb in headdesk-0.3.0 vs lib/headdesk/checks/teak.rb in headdesk-0.4.0
- old
+ new
@@ -21,9 +21,14 @@
#
module Preconditions
def preconditions?
false unless apk.class?('io.teak.sdk.Teak')
end
+
+ def check_name(cname = nil)
+ cname = "teak.#{cname}" if cname
+ super(cname)
+ end
end
#
# Utility methods for Teak based checks
#