APIdock / Ruby
/
method

new

ruby latest stable - Class: RDoc ::Include

Method deprecated or moved

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

new(name, comment)
public

Creates a new Include for name with comment

# File lib/rdoc/include.rb, line 16
 def initialize(name, comment)
 super()
 @name = name
 self.comment = comment
 @module = nil # cache for module if found
 end

AltStyle によって変換されたページ (->オリジナル) /