lib/kilya.rb in kilya-0.0.2 vs lib/kilya.rb in kilya-0.0.3

- old
+ new

@@ -1,5 +1,12 @@ class Kilya - def self.say_hi - puts "Hello i'm kIlya" + class << self + def hello + puts "Hello i'm kIlya" + end + end + + def say(line) + words = line.nil? ? "Nothing to say" : line + puts words end end