module TOML
Don't do monkey-patching by default. Only pulled in by TOML::Generator
if needed (see generator.rb line 27). require 'toml/monkey_patch
Constants
- VERSION
Public Class Methods
load(content)
click to toggle source
# File lib/toml.rb, line 18 def self.load(content) Parser.new(content).parsed end
load_file(path)
click to toggle source
# File lib/toml.rb, line 22 def self.load_file(path) Parser.new(File.read(path)).parsed end