Sha256: 820b9e7f957faddb0551a885fffeaf1a18327c2d81833934ab7c41f6986dc121

Contents?: true

Size: 210 Bytes

Versions: 5

Compression:

Stored size: 210 Bytes

Contents

module SlackMessaging
  class DefaultPaths
    def self.config
      File.join(self.home, '.slack_messaging.yml')
    end

    private

    def self.home
      ENV['HOME'] ? ENV['HOME'] : '.'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack_messaging-2.2.0 lib/slack_messaging/default_paths.rb
slack_messaging-2.1.1 lib/slack_messaging/default_paths.rb
slack_messaging-2.1.0 lib/slack_messaging/default_paths.rb
slack_messaging-2.0.0 lib/slack_messaging/default_paths.rb
slack_messaging-1.4.0 lib/slack_messaging/default_paths.rb