Skip to content

Instantly share code, notes, and snippets.

@sugamasao
Created March 26, 2010 04:38
Show Gist options
  • Save sugamasao/344527 to your computer and use it in GitHub Desktop.
Save sugamasao/344527 to your computer and use it in GitHub Desktop.
if(!isFullPackage) {
methodName = targetLine.match(/::(.+)/)[1];
}
                          ↓
// フルパスを省略する場合は、パッケージの区切り文字がある場合のみ
if(!isFullPackage && methodName.indexOf("::") > -1) {
methodName = methodName.match(/::(.+)/)[1];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment