Class: Nanoc::View

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/base/views/view.rb

Instance Method Summary collapse

Instance Method Details

#_contextObject



8
9
10
# File 'lib/nanoc/base/views/view.rb', line 8

def _context
  @context
end

#frozen?Boolean

True if the wrapped object is frozen; false otherwise.

Returns:

  • (Boolean)

See Also:

  • Object#frozen?


22
23
24
# File 'lib/nanoc/base/views/view.rb', line 22

def frozen?
  unwrap.frozen?
end