Sha256: 0553a31df804f2c901cfe8ea10aa559a36f08f69420a427e85595c893f90aff8

Contents?: true

Size: 270 Bytes

Versions: 5

Compression:

Stored size: 270 Bytes

Contents

module Keydown
  class Tasks < Thor
    attr_reader :presentation_name

    desc "generate NAME", "Make a directory & sample files for presentation NAME"

    def generate(name)
      @presentation_name = name
      directory "templates/generate", name
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
keydown-0.7.1 lib/keydown/tasks/generate.rb
keydown-0.7.0 lib/keydown/tasks/generate.rb
keydown-0.5.2 lib/keydown/tasks/generate.rb
keydown-0.5.1 lib/keydown/tasks/generate.rb
keydown-0.5.0 lib/keydown/tasks/generate.rb