Module: AppRoot

Defined in:
lib/app_root.rb,
lib/app_root/version.rb

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.default_path=(value) ⇒ Object

Sets the attribute default_path

Parameters:

  • value

    the value to set the attribute default_path to.


3
4
5
# File 'lib/app_root.rb', line 3

def default_path=(value)
  @default_path = value
end

Class Method Details

.find_with_flag(flag) ⇒ Object Also known as: path


5
6
7
# File 'lib/app_root.rb', line 5

def find_with_flag(flag)
  find_root_with_flag(flag, called_from)
end