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