Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created March 18, 2011 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marocchino/876630 to your computer and use it in GitHub Desktop.
Save marocchino/876630 to your computer and use it in GitHub Desktop.
Given /^"([^"]+)"님은 로그인상태입니다$/ do |name|
$name = name
class ApplicationController
def current_user
session[:name] = $name
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment