Module: Buttons::Config

Included in:
Application
Defined in:
lib/buttons/config.rb

Instance Method Summary collapse

Instance Method Details

#app_root(*paths) ⇒ Object



7
8
9
10
11
# File 'lib/buttons/config.rb', line 7

def app_root(*paths)
  if @app_root
    File.expand_path(File.join(@app_root, *paths))
  end
end

#app_root=(path) ⇒ Object



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

def app_root=(path)
  @app_root = path
end