class Chronic::Scalar
def self.scan_for_scalars(token, post_token)
def self.scan_for_scalars(token, post_token) if token.word =~ /^\d*$/ unless post_token && %w{am pm morning afternoon evening night}.include?(post_token) return Scalar.new(token.word.to_i) end end return nil end