Method: JsDuck::Tag::Cfg#initialize
- Defined in:
- lib/jsduck/tag/cfg.rb
#initialize ⇒ Cfg
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/jsduck/tag/cfg.rb', line 6 def initialize @pattern = "cfg" @tagname = :cfg @repeatable = true @member_type = { :title => "Config options", :toolbar_title => "Configs", :position => MEMBER_POS_CFG, :icon => File.dirname(__FILE__) + "/icons/cfg.png", :subsections => [ {:title => "Required config options", :filter => {:required => true}}, {:title => "Optional config options", :filter => {:required => false}, :default => true}, ] } end |