跳至內容 跳至搜尋
方法
E

執行個體公開方法

execute()

此方法假設存在一個 ApplicationController,且它會延伸 ActionController::Base

# File railties/lib/rails/commands/console/irb_console.rb, line 24
def execute
  @controller ||= ApplicationController.new
end