diff --git a/lib/rggen/core.rb b/lib/rggen/core.rb index d15ad70..8b124d8 100644 --- a/lib/rggen/core.rb +++ b/lib/rggen/core.rb @@ -5,12 +5,13 @@ require 'erubi' require 'fileutils' require 'forwardable' -require 'json' require 'optparse' require 'pathname' require 'singleton' -require 'tomlrb' -require 'yaml' + +autoload :JSON, 'json' +autoload :Psych, 'yaml' +autoload :Tomlrb, 'tomlrb' require_relative 'core/version'