summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-07-25 01:27:52 -0400
committerDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-07-25 01:27:52 -0400
commit69f36572ca81961395b85ac423c94892ef5e6df0 (patch)
tree6a92ea3b047a6029b54c280c1be2a67e1062818a /bin
parent073ace34392d12ad789217b781b01480ce8362b0 (diff)
Prefixing all widgets with "widget"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/att2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/att b/bin/att
index fe8db05..c90fc48 100755
--- a/bin/att
+++ b/bin/att
@@ -43,7 +43,7 @@ module AllTheThings
desc "new_widget WIDGET_NAME", "Creates a new widget with all the fixins'"
def new_widget(name)
- @name = Thor::Util.snake_case(name)
+ @name = "widget_#{Thor::Util.snake_case(name)}"
directory :widget, File.join('widgets', @name)
end