Class: Rango::Settings::Framework

Public Visibility

Public Instance Method Summary

#erubis
#get_media_root
#haml

Public Instance Method Details

erubis

public erubis

Meta Tags

Parameters:

Since:

0.0.2 Project.settings.erubis.pattern hattribute :erubis, lambda { self.settings_module(:erubis) }

[View source]


77
78
79
# File 'lib/rango/settings/framework.rb', line 77

def erubis
  self.settings_module(:erubis)
end

get_media_root

public get_media_root
[View source]


17
18
19
20
# File 'lib/rango/settings/framework.rb', line 17

def get_media_root
  path = File.join(Project.root, "media")
  return path if Dir.exist?(path)
end

haml

public haml

Meta Tags

Parameters:

Since:

0.0.2 Project.settings.haml.format hattribute :haml, lambda { self.settings_module(:haml) }

[View source]


84
85
86
# File 'lib/rango/settings/framework.rb', line 84

def haml
  self.settings_module(:haml)
end