Class: Jekyll::StaticFile
- Inherits:
-
Object
- Object
- Jekyll::StaticFile
- Defined in:
- lib/asset_pages/monkey_patches.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
readonly
Returns the value of attribute base.
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#site ⇒ Object
readonly
Returns the value of attribute site.
Instance Method Summary collapse
- #==(o) ⇒ Object (also: #eql?)
- #hash ⇒ Object
Instance Attribute Details
#base ⇒ Object (readonly)
Returns the value of attribute base.
22 23 24 |
# File 'lib/asset_pages/monkey_patches.rb', line 22 def base @base end |
#dir ⇒ Object (readonly)
Returns the value of attribute dir.
23 24 25 |
# File 'lib/asset_pages/monkey_patches.rb', line 23 def dir @dir end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
24 25 26 |
# File 'lib/asset_pages/monkey_patches.rb', line 24 def name @name end |
#site ⇒ Object (readonly)
Returns the value of attribute site.
21 22 23 |
# File 'lib/asset_pages/monkey_patches.rb', line 21 def site @site end |
Instance Method Details
#==(o) ⇒ Object Also known as: eql?
26 27 28 29 30 31 |
# File 'lib/asset_pages/monkey_patches.rb', line 26 def ==(o) @site == o.site \ && @base == o.base \ && @dir == o.dir \ && @name == o.name end |
#hash ⇒ Object
35 36 37 |
# File 'lib/asset_pages/monkey_patches.rb', line 35 def hash @site.hash ^ @base.hash ^ @dir.hash ^ @name.hash end |