Class: FTT

Inherits:
Object
  • Object
show all
Defined in:
lib/ftt.rb

Class Method Summary collapse

Class Method Details

.fileObject



12
13
14
15
16
# File 'lib/ftt.rb', line 12

def self.file
  file = File.dirname(__FILE__) + '/php/ftt.php'
  Dir.mkdir('./lib') unless Dir.exists?('./lib')
  FileUtils.cp(file, './lib')
end

.hiObject



4
5
6
# File 'lib/ftt.rb', line 4

def self.hi
  puts "Hello world!"
end

.installObject



8
9
10
# File 'lib/ftt.rb', line 8

def self.install
  FileUtils.cp('testem.php', '.')
end