Class: RSGem::Tasks::OutputStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/rsgem/tasks/output.rb

Overview

Structure to bundle all messages from a task

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/rsgem/tasks/output.rb', line 8

def name
  @name
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



8
9
10
# File 'lib/rsgem/tasks/output.rb', line 8

def success
  @success
end

#warningObject

Returns the value of attribute warning

Returns:

  • (Object)

    the current value of warning



8
9
10
# File 'lib/rsgem/tasks/output.rb', line 8

def warning
  @warning
end