Sha256: 80d75b2cf569b8f368307dd78e7e61b24d04f264869e012b177a4e4c6074ac31
Contents?: true
Size: 391 Bytes
Versions: 14
Compression:
Stored size: 391 Bytes
Contents
class Example < ApplicationRecord def self.check_for_global_method if defined?(schedule) "💥 Oh no, the ruby-clock DSL is in the global environment! 💥" else "✅" end end def self.check_for_runner if defined?(shell) || defined?(rake) "💥 Oh no, the runners got included in the global environment! 💥" else "✅" end end end
Version data entries
14 entries across 7 versions & 1 rubygems