Class: Sortah::Routers

Inherits:
ComponentCollection show all
Defined in:
lib/sortah/components/router.rb

Instance Method Summary collapse

Methods inherited from ComponentCollection

#<<, #defined?, #valid?

Instance Method Details

#has_root?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/sortah/components/router.rb', line 6

def has_root?
  self.fetch(:root, false)
end