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

类公共方法

new(width: IO.console_size[1])

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

实例公共方法

section(routes)

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

section_title(title)

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