This file contains 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
class HelloWorld | |
def initialize(name) | |
@name = name.capitalize | |
end | |
def sayHi | |
puts "Hello !" | |
end | |
end | |
hello = HelloWorld.new("World") |
This file contains 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
{ | |
"Create class": { | |
"prefix": "cla", | |
"body": ["class ${1:ClassName}\n", "\tdef initialize", "\tend", "end"], | |
"description": "Create a class" | |
}, | |
"Create module": { | |
"prefix": "mod", | |
"body": ["module ${1:ModuleName}\n", "end"], | |
"description": "Create a module" |
This file contains 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 esprima = require('esprima'); | |
const fs = require('fs') | |
function isDecodeFuncName(node) { | |
return (node.type === 'MemberExpression') | |
&& (node.object.name === 'A1aa') | |
} | |
const entries = []; |
NewerOlder