module Motion::EnvironmentSettings

Constants

DEFAULT_CONFIG_PATH
VERSION

Public Class Methods

config_path() click to toggle source
# File lib/motion-environment-settings.rb, line 9
def self.config_path
  return @@config_path if defined?(@@config_path)
  puts "===== motion-environment-settings ===="
  puts "* No config path explicitly set, using default: #{DEFAULT_CONFIG_PATH}"
  puts "* Set your config path using `Motion::EnvironmentSettings.config_path=(\"your/path\") in your project's Rakefile"
  DEFAULT_CONFIG_PATH
end
config_path=(new_config_path) click to toggle source
# File lib/motion-environment-settings.rb, line 17
def self.config_path=(new_config_path)
  @@config_path = new_config_path
end