Module: Nanoc::ItemRep::Deprecated
- Included in:
- Nanoc::ItemRep
- Defined in:
- lib/nanoc/base/result_data/item_rep.rb
Overview
Contains all deprecated methods. Mixed into Nanoc::ItemRep.
Instance Method Summary (collapse)
-
- (Object) content_at_snapshot(snapshot = :pre)
deprecated
Deprecated.
Use #compiled_content instead.
-
- (Object) created
deprecated
Deprecated.
-
- (Boolean) created?
deprecated
Deprecated.
-
- (Object) modified
deprecated
Deprecated.
-
- (Boolean) modified?
deprecated
Deprecated.
-
- (Object) path=(path)
deprecated
Deprecated.
Modify the Private#paths attribute instead
-
- (Object) raw_path=(raw_path)
deprecated
Deprecated.
Modify the Private#raw_paths attribute instead
-
- (Object) written
deprecated
Deprecated.
-
- (Boolean) written?
deprecated
Deprecated.
Instance Method Details
- (Object) content_at_snapshot(snapshot = :pre)
Deprecated.
Use Nanoc::ItemRep#compiled_content instead.
25 26 27 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 25 def content_at_snapshot(snapshot = :pre) compiled_content(:snapshot => snapshot) end |
- (Object) created
Deprecated.
30 31 32 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 30 def created raise NotImplementedError, 'Nanoc::ItemRep#created is no longer implemented' end |
- (Boolean) created?
Deprecated.
35 36 37 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 35 def created? raise NotImplementedError, 'Nanoc::ItemRep#created? is no longer implemented' end |
- (Object) modified
Deprecated.
40 41 42 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 40 def modified raise NotImplementedError, 'Nanoc::ItemRep#modified is no longer implemented' end |
- (Boolean) modified?
Deprecated.
45 46 47 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 45 def modified? raise NotImplementedError, 'Nanoc::ItemRep#modified? is no longer implemented' end |
- (Object) path=(path)
Deprecated.
Modify the Private#paths attribute instead
20 21 22 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 20 def path=(path) paths[:last] = path end |
- (Object) raw_path=(raw_path)
Deprecated.
Modify the Private#raw_paths attribute instead
15 16 17 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 15 def raw_path=(raw_path) raw_paths[:last] = raw_path end |
- (Object) written
Deprecated.
50 51 52 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 50 def written raise NotImplementedError, 'Nanoc::ItemRep#written is no longer implemented' end |
- (Boolean) written?
Deprecated.
55 56 57 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 55 def written? raise NotImplementedError, 'Nanoc::ItemRep#written? is no longer implemented' end |