== params[:tid] end get '/pictures/*.*' do |filename, ext| # => GET '/pictures/abc.gif' then filename = "abc" and ext = "gif" "filename = #{filename}, ext = #{ext}" end get %r{/posts/([\w]+)} do |pid| # => put match content to block param(s) # => matches 「([\w]+)」 to 「pid」 end 13年4月5⽇日星期五