Class: LruFile
- Inherits:
-
Struct
- Object
- Struct
- LruFile
- Includes:
- SendChain
- Defined in:
- lib/hooks/all_files.rb
Overview
Insert the url of a Jekyll::Page into each LruFile instance, along with the Page reference todo: replace references to url and :url with reverse_url and :reverse_url
Instance Attribute Summary collapse
-
#page ⇒ Object
Returns the value of attribute page.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Methods included from SendChain
#new_chain, #send_chain, #substitute_and_send_chain_with, #substitute_chain_with
Instance Attribute Details
#page ⇒ Object
Returns the value of attribute page
6 7 8 |
# File 'lib/hooks/all_files.rb', line 6 def page @page end |
#url ⇒ Object
Returns the value of attribute url
6 7 8 |
# File 'lib/hooks/all_files.rb', line 6 def url @url end |
Instance Method Details
#<=>(other) ⇒ Object
9 10 11 |
# File 'lib/hooks/all_files.rb', line 9 def <=>(other) url <=> other.url end |