diff --git a/lib/sprockets/directive_processor.rb b/lib/sprockets/directive_processor.rb index 04cf8ae1a..69b7feeee 100644 --- a/lib/sprockets/directive_processor.rb +++ b/lib/sprockets/directive_processor.rb @@ -188,7 +188,7 @@ def process_directives(directives) # The `require` directive functions similar to Ruby's own `require`. # It provides a way to declare a dependency on a file in your path - # and ensures its only loaded once before the source file. + # and ensures it's only loaded once before the source file. # # `require` works with files in the environment path: # @@ -266,8 +266,8 @@ def process_depend_on_directive(path) # it. # # This is used for caching purposes. Any changes that would - # invalid the asset dependency will invalidate the cache our the - # source file. + # invalidate the asset dependency will invalidate the cache of + # the source file. # # Unlike `depend_on`, the path must be a requirable asset. # @@ -308,7 +308,7 @@ def process_link_directive(path) # //= link_directory "./fonts" # # Use caution when linking against JS or CSS assets. Include an explicit - # extension or content type in these cases + # extension or content type in these cases. # # //= link_directory "./scripts" .js # @@ -324,7 +324,7 @@ def process_link_directory_directive(path = ".", accept = nil) # //= link_tree "./images" # # Use caution when linking against JS or CSS assets. Include an explicit - # extension or content type in these cases + # extension or content type in these cases. # # //= link_tree "./styles" .css #