module AyeCommander::Status::Readable
This module defines methods that allow to read and know about the status
Attributes
status[R]
Public Instance Methods
failure?()
click to toggle source
Boolean opposite of success
# File lib/aye_commander/status.rb, line 33 def failure? !success? end
success?()
click to toggle source
Whether or not the command is succesful
# File lib/aye_commander/status.rb, line 28 def success? self.class.succeeds.include?(status) end