标签: ruby-on-rails ruby
ph = Phonograph.new("West End Blues")
在"West End Blues"中,为什么没有初始化方法时字符串self会被传递?
"West End Blues"
self
self.to_s是否引用当前对象?如果是,则不会ph返回对象的实例,例如resources :leagues?
self.to_s
ph
resources :leagues