module GClouder::Mappings::File

Public Class Methods

included(klass) click to toggle source
# File lib/gclouder/mappings/file.rb, line 22
def self.included(klass)
  klass.extend File
end
load() click to toggle source
# File lib/gclouder/mappings/file.rb, line 14
def self.load
  mappings
end
mappings() click to toggle source
# File lib/gclouder/mappings/file.rb, line 10
def self.mappings
  GClouder::ConfigLoader.load("../../assets/mappings/file")
end
section(section) click to toggle source
# File lib/gclouder/mappings/file.rb, line 26
def self.section(section)
  GClouder::ConfigSection.find(section, mappings)
end

Public Instance Methods

file() click to toggle source
# File lib/gclouder/mappings/file.rb, line 18
def file
  File.mappings
end