Class: Nanoc::Int::OutdatednessReasons::Generic Private

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/base/compilation/outdatedness_reasons.rb

Overview

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.

A generic outdatedness reason. An outdatedness reason is basically a descriptive message that explains why a given object is outdated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Generic

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.

Returns a new instance of Generic.

Parameters:

  • message (String)

    The descriptive message for this outdatedness reason



14
15
16
# File 'lib/nanoc/base/compilation/outdatedness_reasons.rb', line 14

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageString (readonly)

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.

Returns A descriptive message for this outdatedness reason.

Returns:

  • (String)

    A descriptive message for this outdatedness reason



10
11
12
# File 'lib/nanoc/base/compilation/outdatedness_reasons.rb', line 10

def message
  @message
end