Module: Parser
- Defined in:
- lib/decko/config/initializers/sedate_parser.rb
Overview
Hack to get rid of annoying parser warnings
Class Method Summary collapse
Class Method Details
.warn(msg) ⇒ Object
3 4 5 6 |
# File 'lib/decko/config/initializers/sedate_parser.rb', line 3 def self.warn msg return if msg =~ %r{^warning: (?:parser/current|[\d\.]+-compliant syntax|please see)} super end |