Module: Irc::Bot::Config
- Defined in:
- lib/rbot/message.rb,
lib/rbot/rbotconfig.rb,
lib/rbot/config.rb
Defined Under Namespace
Classes: ArrayValue, BooleanValue, EnumValue, FloatValue, IntegerValue, ManagerClass, StringValue, Value, Wizard
Constant Summary collapse
- @@datadir =
defaultdatadir
- @@coredir =
defaultcoredir
Class Method Summary collapse
- .coredir ⇒ Object
- .datadir ⇒ Object
-
.manager ⇒ Object
Returns the only Irc::Bot::Config::ManagerClass.
-
.register(item) ⇒ Object
Register a config value.
Class Method Details
.coredir ⇒ Object
65 66 67 |
# File 'lib/rbot/rbotconfig.rb', line 65 def Config.coredir @@coredir end |
.datadir ⇒ Object
61 62 63 |
# File 'lib/rbot/rbotconfig.rb', line 61 def Config.datadir @@datadir end |
.manager ⇒ Object
Returns the only Irc::Bot::Config::ManagerClass
354 355 356 |
# File 'lib/rbot/config.rb', line 354 def Config.manager return ManagerClass.instance end |