Sha256: 0d89651b0e513209b54d62b8251868eb6b097ac1e38800789ace609fc14a6bd0
Contents?: true
Size: 711 Bytes
Versions: 2
Compression:
Stored size: 711 Bytes
Contents
# if we ever want to make these available at the top-level using refinements, # like we do with the DSL, it doesn't work in Rails because Rails prepends Kernel after # we use the refinment. Initial tests show that prepending ActiveSupport::ForkTracker::CoreExtPrivate # works, but maybe that's not reliable or has unknown side effects # https://stackoverflow.com/questions/74119178/ module RubyClock::Runners def self.shell(string) RubyClock.instance.shell(string) end def self.rake(string) RubyClock.instance.rake(string) end def self.rake_execute(string) RubyClock.instance.rake_execute(string) end def self.rake_async(string) RubyClock.instance.rake_async(string) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-clock-2.0.0.beta5 | lib/ruby-clock/runners.rb |
ruby-clock-2.0.0.beta4 | lib/ruby-clock/runners.rb |