T
Thai Le
Hi guys,
I've done java for a few years and ruby is pretty new to me. In java, a
method has visibility(private, protected, public) and
accessibility(static, non-static); however, in ruby how can I declare
the method: "public static method1"? It seem that the default visibility
of a method is public in ruby, am i correct?
One morething is that java program starts from "public static main()".
What is the entry point to ruby program?
Thanks in advance
I've done java for a few years and ruby is pretty new to me. In java, a
method has visibility(private, protected, public) and
accessibility(static, non-static); however, in ruby how can I declare
the method: "public static method1"? It seem that the default visibility
of a method is public in ruby, am i correct?
One morething is that java program starts from "public static main()".
What is the entry point to ruby program?
Thanks in advance