Module: Ecoportal::API::Common::Content::DoubleModel::Modifiers::Rootable

Extended by:
Includer
Defined in:
lib/ecoportal/api/common/content/double_model/modifiers/rootable.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Methods included from Includer

include_missing

Instance Method Details

#rootObject

INSTANCE METHODS



37
38
39
40
41
# File 'lib/ecoportal/api/common/content/double_model/modifiers/rootable.rb', line 37

def root
  return self if root?

  _parent.root
end