Class: Vizcore::CLISupport::PluginChecker::Check

Inherits:
Struct
  • Object
show all
Defined in:
lib/vizcore/cli/plugin_checker.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



10
11
12
# File 'lib/vizcore/cli/plugin_checker.rb', line 10

def message
  @message
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/vizcore/cli/plugin_checker.rb', line 10

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



10
11
12
# File 'lib/vizcore/cli/plugin_checker.rb', line 10

def status
  @status
end

Instance Method Details

#failure?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/vizcore/cli/plugin_checker.rb', line 11

def failure?
  status == :fail
end