Class: Nanoc3::OutdatednessReasons::Generic

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

Overview

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



17
18
19
# File 'lib/nanoc3/base/compilation/outdatedness_reasons.rb', line 17

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageString (readonly)



13
14
15
# File 'lib/nanoc3/base/compilation/outdatedness_reasons.rb', line 13

def message
  @message
end