Module: Parser

Defined in:
decko/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
7
# File 'decko/lib/decko/config/initializers/sedate_parser.rb', line 3

def self.warn msg
  super unless msg.match?(
    %r{^warning: (?:parser/current|[\d.]+-compliant syntax|please see)}
  )
end