class MiniMagick::Tool
def call(**options)
-
(String)- Returns the output of the command
Other tags:
- Yield: - Optionally yields stdout, stderr, and exit status
def call(**options) options = @options.merge(options) options[:warnings] = false if block_given? shell = MiniMagick::Shell.new stdout, stderr, status = shell.run(command, **options) yield stdout, stderr, status if block_given? stdout.chomp("\n") end