Exception: Nanoc::Errors::DataNotYetAvailable Deprecated

Inherits:
Generic
  • Object
show all
Defined in:
lib/nanoc/base/errors.rb

Overview

Deprecated.

No longer necessary, but kept for backwards compatibility.

Instance Method Summary (collapse)

Constructor Details

- (DataNotYetAvailable) initialize(type, plural)

Returns a new instance of DataNotYetAvailable



185
186
187
# File 'lib/nanoc/base/errors.rb', line 185

def initialize(type, plural)
  super("#{type} #{plural ? 'are' : 'is'} not available yet. You may be missing a Nanoc::Site#load_data call.")
end