Libraries
»
puffer
(0.1.1)
»
Index
»
Puffer
»
Resource
»
#root
Method: Puffer::Resource#root
Defined in:
lib/puffer/resource.rb
#
root
⇒
Object
42 43 44
# File 'lib/puffer/resource.rb', line 42
def
root
@root
||=
(
ancestors
.
first
||
self
)
end