2013-04-23 58 views

回答

2

他們的documentation告訴你它確實如此。例如:

before(:index, :other) do 
    puts 'Executed before specific actions only.' 
end 

after(:index, :other) do 
    puts 'Executed after specific actions only.' 
end 
+0

啊!非常好,非常感謝你! – rebnoob 2013-04-23 21:36:43