mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-17 11:06:17 +08:00
commit
8dadc0f6ad
4 changed files with 128 additions and 2 deletions
|
@ -301,7 +301,7 @@ const layouts = {
|
|||
"`~", "1!", "2@", "3#", "4$", "5%", "6^", "7&", "8*", "9(", "0)", "-_", "=+",
|
||||
"yY", "cC", "lL", "mM", "kK", "zZ", "fF", "uU", ",<", "'\"", "[{", "]}", "\\|",
|
||||
"iI", "sS", "rR", "tT", "gG", "pP", "nN", "eE", "aA", "oO", ";:",
|
||||
"\\|", "vV", "wW", "dD", "jJ", "qQ", "bB", "hH", "/?", ".>", "xX",
|
||||
"\\|", "qQ", "vV", "wW", "dD", "jJ", "bB", "hH", "/?", ".>", "xX",
|
||||
" "
|
||||
],
|
||||
},
|
||||
|
|
|
@ -163,7 +163,8 @@
|
|||
"code_html",
|
||||
"code_java",
|
||||
"code_go",
|
||||
"code_rust"
|
||||
"code_rust",
|
||||
"code_ruby"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -91,4 +91,5 @@
|
|||
,"code_java"
|
||||
,"code_go"
|
||||
,"code_rust"
|
||||
,"code_ruby"
|
||||
]
|
||||
|
|
124
static/languages/code_ruby.json
Normal file
124
static/languages/code_ruby.json
Normal file
|
@ -0,0 +1,124 @@
|
|||
{
|
||||
"name": "code_ruby",
|
||||
"leftToRight": true,
|
||||
"words": [
|
||||
"BEGIN",
|
||||
"class",
|
||||
"ensure",
|
||||
"nil",
|
||||
"self",
|
||||
"when",
|
||||
"END",
|
||||
"def",
|
||||
"false",
|
||||
"not",
|
||||
"super",
|
||||
"while",
|
||||
"alias",
|
||||
"defined?",
|
||||
"for",
|
||||
"or",
|
||||
"then",
|
||||
"yield",
|
||||
"and",
|
||||
"do",
|
||||
"if",
|
||||
"redo",
|
||||
"true",
|
||||
"__LINE__",
|
||||
"begin",
|
||||
"else",
|
||||
"in",
|
||||
"rescue",
|
||||
"undef",
|
||||
"__FILE__",
|
||||
"break",
|
||||
"elsif",
|
||||
"module",
|
||||
"retry",
|
||||
"unless",
|
||||
"__ENCODING__",
|
||||
"case",
|
||||
"end",
|
||||
"next",
|
||||
"return",
|
||||
"until",
|
||||
"BasicObject",
|
||||
"Object",
|
||||
"ARGF.class",
|
||||
"Array",
|
||||
"Binding",
|
||||
"Dir",
|
||||
"Encoding",
|
||||
"Encoding::Converter",
|
||||
"Enumerator",
|
||||
"Enumerator::ArithmeticSequence",
|
||||
"Enumerator::Chain",
|
||||
"Enumerator::Lazy",
|
||||
"Enumerator::Yielder",
|
||||
"FalseClass",
|
||||
"Fiber",
|
||||
"File::Stat",
|
||||
"Hash",
|
||||
"IO",
|
||||
"File",
|
||||
"MatchData",
|
||||
"Method",
|
||||
"Module",
|
||||
"Class",
|
||||
"NilClass",
|
||||
"Numeric",
|
||||
"Complex",
|
||||
"Float",
|
||||
"Integer",
|
||||
"Rational",
|
||||
"ObjectSpace::WeakMap",
|
||||
"Proc",
|
||||
"Process::Status",
|
||||
"Random",
|
||||
"Range",
|
||||
"Regexp",
|
||||
"RubyVM",
|
||||
"RubyVM::AbstractSyntaxTree::Node",
|
||||
"RubyVM::InstructionSequence",
|
||||
"String",
|
||||
"Struct",
|
||||
"Process::Tms",
|
||||
"Symbol",
|
||||
"Thread",
|
||||
"Thread::Backtrace::Location",
|
||||
"Thread::ConditionVariable",
|
||||
"Thread::Mutex",
|
||||
"Thread::Queue",
|
||||
"Thread::SizedQueue",
|
||||
"ThreadGroup",
|
||||
"Time",
|
||||
"TracePoint",
|
||||
"TrueClass",
|
||||
"UnboundMethod",
|
||||
"Comparable",
|
||||
"Enumerable",
|
||||
"Errno",
|
||||
"File::Constants",
|
||||
"FileTest",
|
||||
"GC",
|
||||
"GC::Profiler",
|
||||
"IO::WaitReadable",
|
||||
"IO::WaitWritable",
|
||||
"Kernel",
|
||||
"Marshal",
|
||||
"Math",
|
||||
"ObjectSpace",
|
||||
"Process",
|
||||
"Process::GID",
|
||||
"Process::Sys",
|
||||
"Process::UID",
|
||||
"RubyVM::AbstractSyntaxTree",
|
||||
"RubyVM::MJIT",
|
||||
"Signal",
|
||||
"Warning",
|
||||
"ARGF",
|
||||
"ENV",
|
||||
"main"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue