02 Apr '12, 10am

Sinatra docs are now available in 11 languages. Latest edition: Korean - <3

get '/foo' do t = %w[text/css text/html application/javascript] request.accept # ['text/html', '*/*'] request.accept? 'text/xml' # true request.preferred_type(t) # 'text/html' request.body # 클라이언트로부터 전송된 요청 본문 (아래 참조) request.scheme # "http" request.script_name # "/example" request.path_info # "/foo" request.port # 80 request.request_method # "GET" request.query_string # "" request.content_length # request.body의 길이 request.media_type # request.body의 미디어 유형 request.host # "example.com" request.get? # true (다른 동사에 대해 유사한 메서드 있음) request.form_data? # false request["SOME_HEADER"] # SOME_HEADER 헤더의 값 request.referrer # 클라이언트의 리퍼러 또는 '/' request.user_agent # 사용자 에이전트 (:agent 조건에서 사용됨) request.cookies # 브라우저 쿠키의 해시 request.xhr? # 이게 ajax 요청인가요? request.url # "http://example.com/example/foo" request.path # "/example/foo" request.ip # 클라이언트 IP 주소 request.secure? # false (ssl 접속인 경우...

Full article: http://www.sinatrarb.com/intro-ko.html

Tweets

Korean mobile mentoring app, Meeple, expands to...

e27.sg 02 Apr '12, 1am

Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. Powered by WP Gre...

Remains of soldier missing since Korean War fin...

stripes.com 02 Apr '12, 8am

The body of a U.S. soldier missing in action during the Korean War has been laid to rest, more than a decade after his rem...

Wow, when did @sinatra allow custom conditions?!

sinatrarb.com 08 Apr '12, 12am

# app running on http://example.com/example get '/foo' do t = %w[text/css text/html application/javascript] request.accept...

"Solartaxi" DVD about sun-powered circumnavigation now available

"Solartaxi" DVD about sun-powered circumnavigat...

green.autoblog.com 02 Apr '12, 12pm

Think of it as the "Endless Summer" for the green set. A PBS-produced documentary about the Swiss teacher who drove his so...

Tocardo eyes “promising” South Korean hydropowe...

renewableenergyfocus.com 03 Apr '12, 5pm

“From a geographic and economic point of view, South Korea is one of the world’s most promising countries for the applicat...

Japan Orders Shoot Down of North Korean Rocket ...

defense-update.com 31 Mar '12, 8am

The shoot-down order was issued following a meeting of Japan’s Security Council convened by Prime Minister Yoshiko Noda. W...

Anyone wanna go eat? $19.90, Korean buffet lunch

deal.com.sg 01 Apr '12, 3pm

Voucher is valid from 7 Apr 2012 to 5 Jun 2012 Valid for lunch buffet, Daily Not valid on PH Menu is subject to changes Se...

HTC One X & HTC One V Now Available In Singapore

lesterchan.net 02 Apr '12, 1am

Strong, durable, resistant polycarbonate unibody casing The HTC One X features an aesthetically stunning polycarbonate uni...

HTC One X & HTC One V Now Available In Singapore

lesterchan.net 02 Apr '12, 1am

Strong, durable, resistant polycarbonate unibody casing The HTC One X features an aesthetically stunning polycarbonate uni...

Nike Roshe Run Available Now

Nike Roshe Run Available Now

nicekicks.com 30 Mar '12, 9pm

Ultra lightweight and extremely comfortable, the Roshe Run is Nike’s latest running sneaker to make waves. Minimalism at i...

Soldier testifies he was drunk when he accidentally started fire at South Korean establishment:

Soldier testifies he was drunk when he accident...

stripes.com 22 Mar '12, 8am

Related Army commander in South Korea bans alcohol sales after 9 pm USFK commander calls out officers, NCOs after dozens v...