Class: SlackMessaging::DefaultPaths
- Inherits:
-
Object
- Object
- SlackMessaging::DefaultPaths
- Defined in:
- lib/slack_messaging/config.rb
Class Method Summary collapse
Class Method Details
.config ⇒ Object
7 8 9 |
# File 'lib/slack_messaging/config.rb', line 7 def config File.join(self.home,'.slack_messaging.yml') end |
.home ⇒ Object
11 12 13 |
# File 'lib/slack_messaging/config.rb', line 11 def home ENV['HOME'] ? ENV['HOME'] : "." end |