Class RDoc::Markup::ListItem
In: markup/fragments.rb
Parent: ListBase

Methods

to_s  

Public Instance methods

[Source]

    # File markup/fragments.rb, line 86
86:     def to_s
87:       text = if [:NOTE, :LABELED].include? type then
88:                "#{@param}: #{@txt}"
89:              else
90:                @txt
91:              end
92: 
93:       "L#@level: #{type} #{self.class.name.split('::')[-1]}\n#{text}"
94:     end

[Validate]