module AllImages::Config
def example
-
(String)
- the multi-line string containing the example configuration
def example EXAMPLE end
def init(filename)
-
filename
(String
) -- the path where the example configuration file
def init(filename) File.open(filename, ?w) do |output| output.print EXAMPLE end end
def load(filename)
-
(Object)
- the parsed YAML content as a Ruby object
Parameters:
-
filename
(String
) -- the path to the YAML file to load
def load(filename) YAML.unsafe_load_file(filename) end