lib/html_mockup/generators/new.rb in html_mockup-0.8.4 vs lib/html_mockup/generators/new.rb in html_mockup-0.9.0

- old
+ new

@@ -1,8 +1,8 @@ require 'shellwords' -class HtmlMockup::Generators::New < Thor::Group +class HtmlMockup::Generators::NewGenerator < Thor::Group include Thor::Actions desc "Create a new HTML mockup based on an existing skeleton" argument :path, :type => :string, :required => true, :desc => "Path to generate mockup into" @@ -60,7 +60,8 @@ def create_mockup directory(".", ".") end - -end +end + +HtmlMockup::Generators::Base.register HtmlMockup::Generators::NewGenerator \ No newline at end of file