lib/ridley/chef/cookbook.rb in ridley-0.12.1 vs lib/ridley/chef/cookbook.rb in ridley-0.12.2
- old
+ new
@@ -1,9 +1,9 @@
module Ridley::Chef
# @author Jamie Winsor <reset@riotgames.com>
class Cookbook
- autoload :Metadata, 'ridley/chef/cookbook/metadata'
- autoload :SyntaxCheck, 'ridley/chef/cookbook/syntax_check'
+ require_relative 'cookbook/metadata'
+ require_relative 'cookbook/syntax_check'
class << self
# @param [String] filepath
# a path on disk to the location of a file to checksum
#