lib/kilya.rb in kilya-0.0.3 vs lib/kilya.rb in kilya-0.0.4
- old
+ new
@@ -1,12 +1,11 @@
class Kilya
class << self
def hello
- puts "Hello i'm kIlya"
+ "Hello i'm kIlya"
end
end
- def say(line)
- words = line.nil? ? "Nothing to say" : line
- puts words
+ def reverse(line)
+ line.nil? ? "Nothing to say" : line.reverse!
end
end