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.
22 23 24 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 22 def content_at_snapshot(snapshot = :pre) compiled_content(snapshot: snapshot) end |
- (Object) created
Deprecated.
27 28 29 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 27 def created raise NotImplementedError, 'Nanoc::ItemRep#created is no longer implemented' end |
- (Boolean) created?
Deprecated.
32 33 34 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 32 def created? raise NotImplementedError, 'Nanoc::ItemRep#created? is no longer implemented' end |
- (Object) modified
Deprecated.
37 38 39 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 37 def modified raise NotImplementedError, 'Nanoc::ItemRep#modified is no longer implemented' end |
- (Boolean) modified?
Deprecated.
42 43 44 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 42 def modified? raise NotImplementedError, 'Nanoc::ItemRep#modified? is no longer implemented' end |
- (Object) path=(path)
Deprecated.
Modify the Private#paths attribute instead
17 18 19 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 17 def path=(path) paths[:last] = path end |
- (Object) raw_path=(raw_path)
Deprecated.
Modify the Private#raw_paths attribute instead
12 13 14 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 12 def raw_path=(raw_path) raw_paths[:last] = raw_path end |
- (Object) written
Deprecated.
47 48 49 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 47 def written raise NotImplementedError, 'Nanoc::ItemRep#written is no longer implemented' end |
- (Boolean) written?
Deprecated.
52 53 54 |
# File 'lib/nanoc/base/result_data/item_rep.rb', line 52 def written? raise NotImplementedError, 'Nanoc::ItemRep#written? is no longer implemented' end |