class ConfigModule::ConfigFileNotSpecified

for when config_file was not set

Attributes

config_file[R]

Public Class Methods

new(config_file) click to toggle source
# File lib/config_module/exceptions.rb, line 43
def initialize config_file
  @config_file = config_file
end

Public Instance Methods

message() click to toggle source
# File lib/config_module/exceptions.rb, line 48
def message
  "config_file location is #{config_file.inspect}."\
  "Set your config's location with the `config_file` method."
end