module RunShell
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/run_shell.rb, line 14 def config @config ||= Configuration.new end
run_shell_store()
click to toggle source
# File lib/run_shell.rb, line 27 def self.run_shell_store Thread.current[:run_shell] ||= { } end
setup() { |config| ... }
click to toggle source
# File lib/run_shell.rb, line 10 def setup yield config end
whodunnit()
click to toggle source
# File lib/run_shell.rb, line 19 def self.whodunnit run_shell_store[:whodunnit] end
whodunnit=(value)
click to toggle source
# File lib/run_shell.rb, line 23 def self.whodunnit=(value) run_shell_store[:whodunnit] = value end