Class: Unk

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

Defined Under Namespace

Classes: Translator

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.files(filename) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/unk.rb', line 7

def self.files(filename)
  puts "Im going to find some of your files now "
  sleep 1
  puts "Im thinking .... "
  sleep 1
  begin
    open(filename, "r+")
    `cat #{filename}`
  rescue
    puts "I couldnt find your file..."
    puts "Sorry about that"
  end

end

.hi(language = "english") ⇒ Object



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

def self.hi(language = "english")
  translator = Translator.new(language)
  translator.hi
end

.options(name) ⇒ Object



21
22
23
24
25
26
27
28
# File 'lib/unk.rb', line 21

def self.options(name)
  puts "Hello #{name} I see you are pretty busy studying, Just thought I (Edozie) should tell you I love you babe"
  sleep 2
  puts "The purpose of this gem is Unknown, hence the name"
  sleep 2
  puts "However I am working on making your PDFs function better.."
  sleep 1
end