Displaying 1 result from an estimated 1 matches for "say_bye".
Did you mean:
maybye
2006 Oct 01
9
How to create a very simple form
...://quickstarts.asp.net/QuickStartv20/aspnet/samples/ctrlref/standard/TextBox/TextBox1_vb.aspx
I my RoR project I want to add a Greeter class like this one:
class Greeter
def initialize(name = "World")
@name = name
end
def say_hi
puts "Hi #{@name}!"
end
def say_bye
puts "Bye #{@name}, come back soon."
end
end
my form will have two buttons one for "Hi!" and the other for "Bye!", a
text box to enter a name, and a label to display the whole message. So
if the user enters "Joe" and clicks the button "Hi&quo...