Class: Rodbot::Generator::Helpers
- Inherits:
-
Object
- Object
- Rodbot::Generator::Helpers
- Defined in:
- lib/rodbot/generator.rb
Instance Method Summary collapse
Instance Method Details
#relay_extensions ⇒ Object
100 101 102 103 104 105 |
# File 'lib/rodbot/generator.rb', line 100 def relay_extensions Rodbot.plugins.extend_relay Rodbot.plugins.extensions[:relay].to_h do |name, _| [name, URI(Rodbot::Services::Relay.url(name)).port] end end |
#time_zone ⇒ Object
96 97 98 |
# File 'lib/rodbot/generator.rb', line 96 def time_zone Rodbot.config(:time_zone) end |