Class: Jiminy::CLI::ExitCodes::Base

Inherits:
Struct
  • Object
show all
Defined in:
lib/jiminy/cli/exit_codes/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



4
5
6
# File 'lib/jiminy/cli/exit_codes/base.rb', line 4

def message
  @message
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'lib/jiminy/cli/exit_codes/base.rb', line 4

def value
  @value
end

Instance Method Details

#to_sObject



5
6
7
# File 'lib/jiminy/cli/exit_codes/base.rb', line 5

def to_s
  message
end