最后一个实例怎么运行呢,搞不懂
give "wo", :what => "coffie", :count => '2', :unit => 'bei' do
"hao"
end
我发现没法调用,没有基础,求告知
class aaa give "wo", :what => "coffie", :count => '2', :unit => 'bei' do "hao" end end puts(aaa.new(give))
give "wo", :what => "coffie", :count => '2', :unit => 'bei' do
"hao"
end
我发现没法调用,没有基础,求告知
class aaa give "wo", :what => "coffie", :count => '2', :unit => 'bei' do "hao" end end puts(aaa.new(give))
2019-12-26
举报