class IdentifyA

    def initialize(name)
    end

    def ask
        print "What is the value of a? "
        a = gets.chomp
        if a == 1
            print "a is 1. "
        elsif a == 2
            print "a is 2. "
        else
            print "I don't know that number, dude."
        end
    end

end

identify_a = IdentifyA.new("name")
identify_a.class # => IdentifyA

identify_a.ask
