跳至内容 跳至搜索
方法
F
N
S

类公共方法

new(width: IO.console_size[1])

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 245
def initialize(width: IO.console_size[1])
  @width = width
  super()
end

实例公共方法

section(routes)

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 254
def section(routes)
  @buffer << draw_expanded_section(routes)
end

section_title(title)

# File actionpack/lib/action_dispatch/routing/inspector.rb, line 250
def section_title(title)
  @buffer << "#{"[ #{title} ]"}"
end