class Rouge::Lexers::Shell
Constants
- BUILTINS
- KEYWORDS
Public Class Methods
detect?(text)
click to toggle source
# File lib/rouge/lexers/shell.rb, line 16 def self.detect?(text) return true if text.shebang?(/(ba|z|k)?sh/) end