Class: Textorize::Runner
- Inherits:
-
Object
- Object
- Textorize::Runner
- Defined in:
- lib/textorize/runner.rb
Instance Method Summary collapse
-
#initialize(string, output, options) ⇒ Runner
constructor
A new instance of Runner.
Constructor Details
#initialize(string, output, options) ⇒ Runner
Returns a new instance of Runner.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/textorize/runner.rb', line 6 def initialize(string, output, ) app = OSX::NSApplication.sharedApplication delegate = RunnerApplication.alloc.init delegate. = delegate.string = string delegate.output = output app.setDelegate delegate app.run end |