Sha256: b65a5f2930b1f8f06334993dad82aafb6bc18e418c9202db20b2fadbbfc98ae2

Contents?: true

Size: 214 Bytes

Versions: 2

Compression:

Stored size: 214 Bytes

Contents

class Bonfire < Thor

  attr_reader :book_name

  desc "new BOOK_NAME", "Make a project directory for BOOK_NAME"
  def new(name = "bonfire_book")
    @book_name = name
    directory "templates/new", name
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bonfire-0.1.1 lib/bonfire/new.rb
bonfire-0.1.0 lib/bonfire/new.rb