From ccf2f34b6ce7fda3ea134548495a31807ecedc5d Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 21 Nov 2014 09:24:42 -0500 Subject: [PATCH] comment spelling --- lib/cask/artifact/base.rb | 2 +- lib/cask/dsl.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cask/artifact/base.rb b/lib/cask/artifact/base.rb index 0212396f81cc..5df423dcf10b 100644 --- a/lib/cask/artifact/base.rb +++ b/lib/cask/artifact/base.rb @@ -39,7 +39,7 @@ def self.read_script_arguments(arguments, stanza, default_arguments={}, override description.concat(" #{key.inspect}") end - # backwards-compatible string value + # backward-compatible string value if arguments.kind_of?(String) arguments = { :executable => arguments } end diff --git a/lib/cask/dsl.rb b/lib/cask/dsl.rb index 7093322b242b..5794e8530599 100644 --- a/lib/cask/dsl.rb +++ b/lib/cask/dsl.rb @@ -99,7 +99,7 @@ def container(*args) rescue StandardError => e raise CaskInvalidError.new(self.title, e) end - # todo: remove this backwards compatibility section after removing nested_container + # todo: remove this backward-compatibility section after removing nested_container if @container and @container.nested artifacts[:nested_container] << @container.nested end