-
-
Save austinpray/e0c134f45074de04c38f58ce249bd7d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const get = function (name) { | |
return ( | |
`public String get ${name.charAt(0).toUpperCase()}${name.slice(1)}() { | |
\treturn this.${name}; | |
}` | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment