Class | Rouge::TextAnalyzer |
In: |
lib/rouge/text_analyzer.rb
|
Parent: | String |
Check if the given shebang is present.
This normalizes things so that `text.shebang?(‘bash’)` will detect `#!/bash`, ’#!/bin/bash’, ’#!/usr/bin/env bash’, and ’#!/bin/bash -x‘