lib/toml.rb in toml-0.1.1 vs lib/toml.rb in toml-0.1.2
- old
+ new
@@ -1,10 +1,11 @@
$:.unshift(File.dirname(__FILE__))
require 'time'
require 'parslet'
+require 'toml/version'
require 'toml/key'
require 'toml/table'
require 'toml/parslet'
require 'toml/transformer'
require 'toml/parser'
@@ -12,11 +13,9 @@
# Don't do monkey-patching by default. Only pulled in by TOML::Generator
# if needed (see generator.rb line 27).
# require 'toml/monkey_patch
module TOML
- VERSION = '0.1.1'
-
def self.load(content)
Parser.new(content).parsed
end
def self.load_file(path)