Class: Papa::Command::Larga::Type

Inherits:
Base
  • Object
show all
Defined in:
lib/papa/command/larga/type.rb

Instance Attribute Summary

Attributes inherited from Base

#command, #exit_status, #silent, #stderr, #stdout

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #failed?, #run, #success?

Constructor Details

#initializeType

Returns a new instance of Type.



7
8
9
10
# File 'lib/papa/command/larga/type.rb', line 7

def initialize
  command = 'type larga'
  super(command)
end

Instance Method Details

#failure_messageObject



12
13
14
15
# File 'lib/papa/command/larga/type.rb', line 12

def failure_message
  super
  Helper::Output.stderr 'Larga is not installed in this system'
end