lib/new_life.rb in new_life-0.0.0 vs lib/new_life.rb in new_life-0.0.1
- old
+ new
@@ -1,8 +1,20 @@
require "new_life/version"
-require 'creating_a_gem/railtie' if defined?(Rails)
+require 'new_life/railtie' if defined?(Rails)
+#First description comment on module just for test
module NewLife
if Time.now.hour > 12
- puts "Go to bed!!"
+ puts "Yes, Go to bed!!"
end
-end
+
+=begin
+ class Sleep
+ def self.time_to_sleep?
+ if Time.now.hour > 12
+ puts "Yes"
+ end
+ end
+ end
+=end
+
+end
\ No newline at end of file