Class: Nanoc::Int::Item Private
- Defined in:
- lib/nanoc/base/entities/item.rb
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.
Instance Attribute Summary
Attributes inherited from Document
#checksum_data, #content, #identifier
Instance Method Summary collapse
-
#reference ⇒ Object
private
Returns an object that can be used for uniquely identifying objects.
Methods inherited from Document
#==, #attributes, #eql?, #freeze, #hash, #initialize, #inspect
Methods included from ContractsSupport
Constructor Details
This class inherits a constructor from Nanoc::Int::Document
Instance Method Details
#reference ⇒ Object
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 an object that can be used for uniquely identifying objects.
9 10 11 |
# File 'lib/nanoc/base/entities/item.rb', line 9 def reference [:item, identifier.to_s] end |