method

new

ruby latest stable - Class: SM::Fragment

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

new(level, param, type, txt)
public

No documentation available.

# File lib/rdoc/markup/simple_markup/fragments.rb, line 14
    def initialize(level, param, type, txt)
      @level = level
      @param = param
      @type  = type
      @txt   = ""
      add_text(txt) if txt
    end