aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 07:08:49 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-04-20 07:08:49 -0700
commitd6c6160df2e1872e1a0be9dfb8773c174ba4bde2 (patch)
tree0ee45703a8c846ac5d6b0efec21741efb1b856e3
parentc8ce5fa45fde0e2bd1b3e6f1a336d2853b242ff2 (diff)
downloaddinobot-d6c6160df2e1872e1a0be9dfb8773c174ba4bde2.tar.gz
dinobot-d6c6160df2e1872e1a0be9dfb8773c174ba4bde2.tar.xz
Rename Module::Module to Module::Base.
-rw-r--r--module/admin.rb4
-rw-r--r--module/base.rb (renamed from module/module.rb)2
-rw-r--r--module/test.rb4
3 files changed, 5 insertions, 5 deletions
diff --git a/module/admin.rb b/module/admin.rb
index dd52cab..f700a74 100644
--- a/module/admin.rb
+++ b/module/admin.rb
@@ -1,8 +1,8 @@
-require_relative 'module'
+require_relative 'base'
module Dinobot
module Module
- class Admin < Module
+ class Admin < Base
def initialize(bot)
super
diff --git a/module/module.rb b/module/base.rb
index 9d72b09..b8be306 100644
--- a/module/module.rb
+++ b/module/base.rb
@@ -1,6 +1,6 @@
module Dinobot
module Module
- class Module
+ class Base
attr_accessor :commands
def initialize(bot)
diff --git a/module/test.rb b/module/test.rb
index e1d8358..f728930 100644
--- a/module/test.rb
+++ b/module/test.rb
@@ -1,8 +1,8 @@
-require_relative 'module'
+require_relative 'base'
module Dinobot
module Module
- class Test < Module
+ class Test < Base
def initialize(bot)
super