Method: Teapot::Command::Top#controller

Defined in:
lib/teapot/command.rb

#controller(root = nil, **options) ⇒ Object



161
162
163
# File 'lib/teapot/command.rb', line 161

def controller(root = nil, **options)
  Teapot::Controller.new(root || self.root, @options)
end