Sha256: c357320d19f53bc7a6158f637125a02fd2263a450a5a4aaf05e9d5d241f8c9a8
Contents?: true
Size: 344 Bytes
Versions: 12
Compression:
Stored size: 344 Bytes
Contents
module Hyperstack def self.deprecation_warning(name, message) return if env.production? @deprecation_messages ||= [] message = "Warning: Deprecated feature used in #{name}. #{message}" return if @deprecation_messages.include? message @deprecation_messages << message `console.warn.apply(console, [message])` end end
Version data entries
12 entries across 12 versions & 1 rubygems