mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -20,17 +20,17 @@ class RDoc::Markup::Include
|
|||
##
|
||||
# Creates a new include that will import +file+ from +include_path+
|
||||
|
||||
def initialize file, include_path
|
||||
def initialize(file, include_path)
|
||||
@file = file
|
||||
@include_path = include_path
|
||||
end
|
||||
|
||||
def == other # :nodoc:
|
||||
def ==(other) # :nodoc:
|
||||
self.class === other and
|
||||
@file == other.file and @include_path == other.include_path
|
||||
end
|
||||
|
||||
def pretty_print q # :nodoc:
|
||||
def pretty_print(q) # :nodoc:
|
||||
q.group 2, '[incl ', ']' do
|
||||
q.text file
|
||||
q.breakable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue