From: 7stud -- Date: 2009-02-28T03:04:12+09:00 Subject: Re: what symbol for class methods? Diego Virasoro wrote: > Hello, > some methods require as an argument a symbol of a method (e.g. > alias_method). How can one use it with class methods? > > Thanks. > > Diego class A def A.show(symbol) puts "%s <--> %s" % [symbol.inspect, symbol.to_s] end end A.show(:hello) --output:-- :hello <--> hello -- Posted via http://www.ruby-forum.com/.