Sha256: c077596070c30dac0de9973503df434e9603d6b8fcb349282adae4c325debd39
Contents?: true
Size: 687 Bytes
Versions: 3
Compression:
Stored size: 687 Bytes
Contents
# encoding: utf-8 module Nanoc class LayoutView # @api private def initialize(layout) @layout = layout end # @api private def unwrap @layout end # @see Object#== def ==(other) identifier == other.identifier end alias_method :eql?, :== # @see Object#hash def hash self.class.hash ^ identifier.hash end # @return [Nanoc::Identifier] def identifier @layout.identifier end # @see Hash#[] def [](key) @layout[key] end # @api private def reference @layout.reference end # @api private def raw_content @layout.raw_content end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nanoc-4.0.0b2 | lib/nanoc/base/views/layout.rb |
nanoc-4.0.0b1 | lib/nanoc/base/views/layout.rb |
nanoc-4.0.0a2 | lib/nanoc/base/views/layout.rb |