Method: JsDuck::Tag::Method#initialize
- Defined in:
- lib/jsduck/tag/method.rb
#initialize ⇒ Method
Returns a new instance of Method.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/jsduck/tag/method.rb', line 7 def initialize @pattern = "method" @tagname = :method @member_type = { :title => "Methods", :position => MEMBER_POS_METHOD, :icon => File.dirname(__FILE__) + "/icons/method.png", :subsections => [ {:title => "Instance methods", :filter => {:static => false}, :default => true}, {:title => "Static methods", :filter => {:static => true}}, ] } end |