Class: Nanoc::Core::Item

Inherits:
Document show all
Defined in:
lib/nanoc/core/item.rb

Instance Attribute Summary

Attributes inherited from Document

#attributes_checksum_data, #checksum_data, #content, #content_checksum_data, #identifier

Instance Method Summary collapse

Methods inherited from Document

#==, #attributes, #eql?, #freeze, #hash, #initialize, #inspect, #set_attribute, #with_identifier_prefix

Methods included from ContractsSupport

enabled?, included, setup_once, warn_about_performance

Constructor Details

This class inherits a constructor from Nanoc::Core::Document

Instance Method Details

#referenceObject



6
7
8
# File 'lib/nanoc/core/item.rb', line 6

def reference
  "item:#{identifier}"
end