ruby/trema/controller.rb in trema-0.2.2.1 vs ruby/trema/controller.rb in trema-0.2.3
- old
+ new
@@ -1,8 +1,6 @@
#
-# Author: Yasuhito Takamiya <yasuhito@gmail.com>
-#
# Copyright (C) 2008-2012 NEC Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation.
@@ -17,19 +15,21 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
require "trema/app"
+require "trema/logger"
require "trema/monkey-patch/integer"
require "trema/monkey-patch/string"
require "trema/timers"
module Trema
#
# The base class of Trema controller.
#
class Controller < App
+ include Logger
include Timers
#
# Callback invoked whenever a subclass of this class is created.