# File lib/rouge/lexers/idlang.rb, line 13 def self.analyze_text(text) # Does there exist a statement that starts with 'pro' or # 'function'? return 0.4 if text =~ /^\s+(pro|function)\z/ end