class Rouge::Lexers::Shell
Constants
- BUILTINS
- KEYWORDS
Public Class Methods
Source
# File lib/rouge/lexers/shell.rb, line 21 def self.detect?(text) return true if text.shebang?(/(ba|z|k)?sh/) return true if text.start_with?('#compdef', '#autoload') end