Class: RDoc::Markup::Include
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rdoc/markup/include.rb |
Overview
A file included at generation time. Objects of this class are created by ::RDoc::RD for an extension-less include.
This implementation in incomplete.
Class Method Summary
-
.new(file, include_path) ⇒ Include
constructor
Creates a new include that will import #file from #include_path
Instance Attribute Summary
-
#file
readonly
The filename to be included, without extension.
-
#include_path
readonly
Directories to search for #file
Constructor Details
.new(file, include_path) ⇒ Include
Creates a new include that will import #file from #include_path
# File 'lib/rdoc/markup/include.rb', line 22
def initialize file, include_path @file = file @include_path = include_path end
Instance Attribute Details
#file (readonly)
The filename to be included, without extension
# File 'lib/rdoc/markup/include.rb', line 12
attr_reader :file
#include_path (readonly)
Directories to search for #file
# File 'lib/rdoc/markup/include.rb', line 17
attr_reader :include_path