module GClouder::Mappings::Property
Public Class Methods
included(klass)
click to toggle source
# File lib/gclouder/mappings/property.rb, line 22 def self.included(klass) klass.extend Property end
load()
click to toggle source
# File lib/gclouder/mappings/property.rb, line 14 def self.load mappings end
mappings()
click to toggle source
# File lib/gclouder/mappings/property.rb, line 10 def self.mappings YAML.load_file(::File.join(::File.dirname(__FILE__), "../../../assets/mappings/property.yml")) end
section(section)
click to toggle source
# File lib/gclouder/mappings/property.rb, line 26 def self.section(section) GClouder::ConfigSection.find(section, mappings) end
Public Instance Methods
mappings()
click to toggle source
# File lib/gclouder/mappings/property.rb, line 18 def mappings Property.mappings end