跳至內容 跳至搜尋
方法
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