Sha256: b54897a6e14a09489f1d73705e61b0b2a9c65326a27a1df13ae0884752042f6e
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 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 # instance variable used when the directory is copied directory "templates/generate", name copy_file "templates/generate/deck.js/themes/transition/horizontal-slide.css", "#{name}/css/horizontal-slide.css" copy_file "templates/generate/deck.js/themes/style/swiss.css", "#{name}/css/swiss.css" copy_file "templates/generate/deck.js/extensions/codemirror/themes/default.css", "#{name}/css/default.css" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keydown-0.9.2 | lib/keydown/tasks/generate.rb |
keydown-0.9.1 | lib/keydown/tasks/generate.rb |
keydown-0.9.0 | lib/keydown/tasks/generate.rb |