Merge pull request #1344 from Sixeight/add-ruby

Added Ruby language.
This commit is contained in:
Jack 2021-05-04 13:46:32 +01:00 committed by GitHub
commit c6eae018dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 127 additions and 1 deletions

View file

@ -163,7 +163,8 @@
"code_html",
"code_java",
"code_go",
"code_rust"
"code_rust",
"code_ruby"
]
},
{

View file

@ -91,4 +91,5 @@
,"code_java"
,"code_go"
,"code_rust"
,"code_ruby"
]

View 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"
]
}