class method
self.new
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
self.new(width: IO.console_size[1])
No documentation comment.
Parameters
-
widthkey = IO.console_size[1]
Source
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 245
def initialize(width: IO.console_size[1])
@width = width
super()
end
Defined in actionpack/lib/action_dispatch/routing/inspector.rb line 245
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Routing::ConsoleFormatter::Expanded