lib/nanoc/cli/commands/create-layout.rb in nanoc-3.7.4 vs lib/nanoc/cli/commands/create-layout.rb in nanoc-3.7.5

- old
+ new

@@ -7,13 +7,11 @@ Create a new layout in the current site. The first data source in the site configuration will be used. EOS module Nanoc::CLI::Commands - class CreateLayout < ::Nanoc::CLI::CommandRunner - def run # Check arguments if arguments.length != 1 raise Nanoc::Errors::GenericTrivial, "usage: #{command.usage}" end @@ -62,11 +60,9 @@ identifier ) puts "A layout has been created at #{identifier}." end - end - end runner Nanoc::CLI::Commands::CreateLayout