Class: Mutant::Usage::Unknown Private

Inherits:
Mutant::Usage show all
Defined in:
lib/mutant/usage.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

VALUE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

'unknown'
MESSAGE =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"# Unknown mutant usage type\n\nMutant license usage is unspecified. Valid usage types are `opensource` or `commercial`.\n\nUsage can be specified via the `--usage` command line parameter or via the\nconfig file under the `usage` key.\n\n\#{Commercial::MESSAGE}\n\#{Opensource::MESSAGE}\nThis is a breaking change for users of the 0.11.x / 0.10.x mutant releases.\nSorry for that but its going to make future adoption much easier.\nLicense gem is gone entirely.\n".freeze

Constants inherited from Mutant::Usage

CLI_REGEXP, TRANSFORM

Instance Method Summary collapse

Methods inherited from Mutant::Usage

#message, parse, #value

Instance Method Details

#merge(other) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



84
85
86
# File 'lib/mutant/usage.rb', line 84

def merge(other)
  other
end

#verifyObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



88
89
90
# File 'lib/mutant/usage.rb', line 88

def verify
  Either::Left.new(MESSAGE)
end