module YamlOstruct

yaml-ostruct gem version

YamlOstruct module

Constants

VERSION

Attributes

config[R]

Public Class Methods

clear() click to toggle source
# File lib/yaml/ostruct.rb, line 11
def self.clear
  @config = nil
end
Also aliased as: delete_all
configure() { |config| ... } click to toggle source
# File lib/yaml/ostruct.rb, line 29
def self.configure
  @config ||= YamlOstructImpl.new
  yield @config
end
delete_all()
Alias for: clear
load(dir) click to toggle source
# File lib/yaml/ostruct.rb, line 24
def self.load(dir)
  @config ||= YamlOstructImpl.new
  @config.load(dir)
end
method_missing(method_sym, *args) click to toggle source
# File lib/yaml/ostruct.rb, line 19
def self.method_missing(method_sym, *args)
  @config ||= YamlOstructImpl.new
  @config.send method_sym, *args
end
new(args = {}) click to toggle source
# File lib/yaml/ostruct.rb, line 7
def self.new(args = {})
  YamlOstructImpl.new args
end