Skip to content

Instantly share code, notes, and snippets.

@mitchellh
Created August 24, 2010 15:43
Show Gist options
  • Save mitchellh/547762 to your computer and use it in GitHub Desktop.
Save mitchellh/547762 to your computer and use it in GitHub Desktop.
From f9dc8652969aa9372ded7651d844012b717f0bf0 Mon Sep 17 00:00:00 2001
From: Mitchell Hashimoto <mitchell.hashimoto@gmail.com>
Date: Tue, 24 Aug 2010 08:42:42 -0700
Subject: [PATCH] Typo fix in Thor::Group documentation on `desc`
---
lib/thor/group.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/thor/group.rb b/lib/thor/group.rb
index fdb1edd..f14b8ea 100644
--- a/lib/thor/group.rb
+++ b/lib/thor/group.rb
@@ -6,7 +6,7 @@ require 'thor/base'
# tasks.
class Thor::Group
class << self
- # The descrition for this Thor::Group. If none is provided, but a source root
+ # The description for this Thor::Group. If none is provided, but a source root
# exists, tries to find the USAGE one folder above it, otherwise searches
# in the superclass.
#
@@ -114,7 +114,7 @@ class Thor::Group
names.each do |name|
unless class_options.key?(name)
- raise ArgumentError, "You have to define the option #{name.inspect} " <<
+ raise ArgumentError, "You have to define the option #{name.inspect} " <<
"before setting invoke_from_option."
end
--
1.7.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment