Method: JsDuck::Warning::Deprecated#initialize
- Defined in:
- lib/jsduck/warning/deprecated.rb
#initialize(type, msg, nodoc, params) ⇒ Deprecated
Creates a deprecated warning with a mapping to :nodoc warning type with given parameters. The warning is disabled by default.
13 14 15 16 17 18 19 |
# File 'lib/jsduck/warning/deprecated.rb', line 13 def initialize(type, msg, nodoc, params) @type = type @msg = msg @enabled = false @nodoc = nodoc @params = params end |