Module: RbotMemeGenerator

Defined in:
lib/rbot-meme_generator.rb

Constant Summary collapse

Plugin =
File.join(File.dirname(__FILE__), 'rbot-meme_generator', 'plugin.rb')

Class Method Summary collapse

Class Method Details

.install(dest_dir) ⇒ Object



7
8
9
10
11
12
# File 'lib/rbot-meme_generator.rb', line 7

def self.install(dest_dir)
  dest_dir ||= File.expand_path('~/.rbot/plugins/')
  dest = File.join(dest_dir, 'meme_generator.rb')

  FileUtils.cp Plugin, dest, :verbose => true
end