Class | AutomateIt::Common |
In: |
lib/automateit/common.rb
|
Parent: | Object |
interpreter | [RW] | Interpreter instance for this class. |
See Interpreter#log
# File lib/automateit/common.rb, line 26 def log() @interpreter.log end
See Interpreter#nitpick
# File lib/automateit/common.rb, line 62 def nitpick(value=nil) @interpreter.nitpick(value) end
See Interpreter#noop
# File lib/automateit/common.rb, line 32 def noop(value) @interpreter.noop(value) end
See Interpreter#noop=
# File lib/automateit/common.rb, line 29 def noop=(value) @interpreter.noop=(value) end
See Interpreter#noop?
# File lib/automateit/common.rb, line 35 def noop?() @interpreter.noop?() end
See Interpreter#preview=
# File lib/automateit/common.rb, line 53 def preview=(value) @interpreter.preview=(value) end
See Interpreter#preview?
# File lib/automateit/common.rb, line 47 def preview?() @interpreter.preview?() end
# File lib/automateit/common.rb, line 56 def preview_for(message, &block) @interpreter.preview_for(message, &block) end
Setup the class. Options:
# File lib/automateit/common.rb, line 18 def setup(options={}) @interpreter = options[:interpreter] if options[:interpreter] end
See Interpreter#superuser?
# File lib/automateit/common.rb, line 59 def superuser?() @interpreter.superuser? end
See Interpreter#writing=
# File lib/automateit/common.rb, line 38 def writing=(value) @interpreter.writing=(value) end
See Interpreter#writing?
# File lib/automateit/common.rb, line 44 def writing?() @interpreter.writing?() end