class Elm::Runnable
Run command
Constants
- RunStatus
Public Class Methods
new(command)
click to toggle source
# File lib/elm/runnable.rb, line 42 def initialize(command) @command = command unless exists? raise ExecutableNotFoundError, "Please install executable '#{@command}'" end self end
Public Instance Methods
run()
click to toggle source
# File lib/elm/runnable.rb, line 54 def run run [] end
Private Instance Methods
exists?()
click to toggle source
# File lib/elm/runnable.rb, line 77 def exists? !find_executable0(@command).nil? end