Method: Licit::Licenser#should_skip?
- Defined in:
- lib/licit/licenser.rb
#should_skip?(line) ⇒ Boolean
102 103 104 105 106 107 |
# File 'lib/licit/licenser.rb', line 102 def should_skip? line line = line.strip return true if line.empty? return true if line.start_with? '#!' return line =~ /^#\s*(encoding|coding)/ end |