Module: CheckSearch

Defined in:
lib/SearchName.rb

Class Method Summary collapse

Class Method Details

.amount(amt) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/SearchName.rb', line 3

def self.amount(amt)
  # if search is not empty
  if
  	amt > 500
  	puts "Yes IT!!!"
  else
    puts " Try Different amount"
end
  
end