module ExitComand
Public Class Methods
exit()
click to toggle source
# File lib/obtenir/exit_command.rb, line 2 def self.exit puts "Enter 0 to exit this program" return if gets.strip.to_i == 0 end
# File lib/obtenir/exit_command.rb, line 2 def self.exit puts "Enter 0 to exit this program" return if gets.strip.to_i == 0 end