GRAYBYTE WORDPRESS FILE MANAGER2973

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/ruby24/lib64/ruby/2.4.0/rdoc/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/ruby24/lib64/ruby/2.4.0/rdoc//rd.rb
# frozen_string_literal: false
##
# RDoc::RD implements the RD format from the rdtool gem.
#
# To choose RD as your only default format see
# RDoc::Options@Saved+Options for instructions on setting up a
# <code>.doc_options</code> file to store your project default.
#
# == LICENSE
#
# The grammar that produces RDoc::RD::BlockParser and RDoc::RD::InlineParser
# is included in RDoc under the Ruby License.
#
# You can find the original source for rdtool at
# https://github.com/uwabami/rdtool/
#
# You can use, re-distribute or change these files under Ruby's License or GPL.
#
# 1. You may make and give away verbatim copies of the source form of the
#    software without restriction, provided that you duplicate all of the
#    original copyright notices and associated disclaimers.
#
# 2. You may modify your copy of the software in any way, provided that
#    you do at least ONE of the following:
#
#    a. place your modifications in the Public Domain or otherwise
#       make them Freely Available, such as by posting said
#       modifications to Usenet or an equivalent medium, or by allowing
#       the author to include your modifications in the software.
#
#    b. use the modified software only within your corporation or
#       organization.
#
#    c. give non-standard binaries non-standard names, with
#       instructions on where to get the original software distribution.
#
#    d. make other distribution arrangements with the author.
#
# 3. You may distribute the software in object code or binary form,
#    provided that you do at least ONE of the following:
#
#    a. distribute the binaries and library files of the software,
#       together with instructions (in the manual page or equivalent)
#       on where to get the original distribution.
#
#    b. accompany the distribution with the machine-readable source of
#       the software.
#
#    c. give non-standard binaries non-standard names, with
#       instructions on where to get the original software distribution.
#
#    d. make other distribution arrangements with the author.
#
# 4. You may modify and include the part of the software into any other
#    software (possibly commercial).  But some files in the distribution
#    are not written by the author, so that they are not under these terms.
#
#    For the list of those files and their copying conditions, see the
#    file LEGAL.
#
# 5. The scripts and library files supplied as input to or produced as
#    output from the software do not automatically fall under the
#    copyright of the software, but belong to whomever generated them,
#    and may be sold commercially, and may be aggregated with this
#    software.
#
# 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
#    IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
#    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
#    PURPOSE.

class RDoc::RD

  ##
  # Parses +rd+ source and returns an RDoc::Markup::Document.  If the
  # <tt>=begin</tt> or <tt>=end</tt> lines are missing they will be added.

  def self.parse rd
    rd = rd.lines.to_a

    if rd.find { |i| /\S/ === i } and !rd.find{|i| /^=begin\b/ === i } then
      rd.unshift("=begin\n").push("=end\n")
    end

    parser = RDoc::RD::BlockParser.new
    document = parser.parse rd

    # isn't this always true?
    document.parts.shift if RDoc::Markup::BlankLine === document.parts.first
    document.parts.pop   if RDoc::Markup::BlankLine === document.parts.last

    document
  end

  autoload :BlockParser,  'rdoc/rd/block_parser'
  autoload :InlineParser, 'rdoc/rd/inline_parser'
  autoload :Inline,       'rdoc/rd/inline'

end


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:48:02
root / root
0755
context
--
March 03 2024 22:48:01
root / linksafe
0755
generator
--
March 03 2024 22:48:01
root / linksafe
0755
i18n
--
March 03 2024 22:48:01
root / linksafe
0755
markdown
--
March 03 2024 22:48:01
root / linksafe
0755
markup
--
March 03 2024 22:48:01
root / linksafe
0755
parser
--
March 03 2024 22:48:01
root / linksafe
0755
rd
--
March 03 2024 22:48:01
root / linksafe
0755
ri
--
March 03 2024 22:48:01
root / linksafe
0755
stats
--
March 03 2024 22:48:01
root / linksafe
0755
alias.rb
2.123 KB
March 31 2020 11:42:18
root / linksafe
0644
anon_class.rb
0.169 KB
March 31 2020 11:42:18
root / linksafe
0644
any_method.rb
7.067 KB
March 31 2020 11:42:18
root / linksafe
0644
attr.rb
3.76 KB
March 31 2020 11:42:18
root / linksafe
0644
class_module.rb
19.757 KB
March 31 2020 11:42:18
root / linksafe
0644
code_object.rb
9.351 KB
March 31 2020 11:42:18
root / linksafe
0644
code_objects.rb
0.148 KB
March 31 2020 11:42:18
root / linksafe
0644
comment.rb
5.285 KB
March 31 2020 11:42:18
root / linksafe
0644
constant.rb
3.577 KB
March 31 2020 11:42:18
root / linksafe
0644
context.rb
28.798 KB
March 31 2020 11:42:18
root / linksafe
0644
cross_reference.rb
5.854 KB
March 31 2020 11:42:18
root / linksafe
0644
encoding.rb
2.985 KB
March 31 2020 11:42:18
root / linksafe
0644
erb_partial.rb
0.392 KB
March 31 2020 11:42:18
root / linksafe
0644
erbio.rb
0.806 KB
March 31 2020 11:42:18
root / linksafe
0644
extend.rb
0.167 KB
March 31 2020 11:42:18
root / linksafe
0644
generator.rb
1.795 KB
March 31 2020 11:42:18
root / linksafe
0644
ghost_method.rb
0.142 KB
March 31 2020 11:42:18
root / linksafe
0644
i18n.rb
0.178 KB
March 31 2020 11:42:18
root / linksafe
0644
include.rb
0.169 KB
March 31 2020 11:42:18
root / linksafe
0644
known_classes.rb
2.623 KB
March 31 2020 11:42:18
root / linksafe
0644
markdown.rb
373.6 KB
March 31 2020 11:42:18
root / linksafe
0644
markup.rb
28.267 KB
March 31 2020 11:42:18
root / linksafe
0644
meta_method.rb
0.127 KB
March 31 2020 11:42:18
root / linksafe
0644
method_attr.rb
9.036 KB
March 31 2020 11:42:18
root / linksafe
0644
mixin.rb
2.753 KB
March 31 2020 11:42:18
root / linksafe
0644
normal_class.rb
2.135 KB
March 31 2020 11:42:18
root / linksafe
0644
normal_module.rb
1.434 KB
March 31 2020 11:42:18
root / linksafe
0644
options.rb
30.342 KB
March 31 2020 11:42:18
root / linksafe
0644
parser.rb
7.801 KB
March 31 2020 11:42:18
root / linksafe
0644
rd.rb
3.568 KB
March 31 2020 11:42:18
root / linksafe
0644
rdoc.rb
13.387 KB
March 31 2020 11:42:18
root / linksafe
0644
require.rb
0.943 KB
March 31 2020 11:42:18
root / linksafe
0644
ri.rb
0.338 KB
March 31 2020 11:42:18
root / linksafe
0644
ruby_lex.rb
27.474 KB
March 31 2020 11:42:18
root / linksafe
0644
ruby_token.rb
11.354 KB
March 31 2020 11:42:18
root / linksafe
0644
rubygems_hook.rb
5.143 KB
March 31 2020 11:42:18
root / linksafe
0644
servlet.rb
11.897 KB
March 31 2020 11:42:18
root / linksafe
0644
single_class.rb
0.399 KB
March 31 2020 11:42:18
root / linksafe
0644
stats.rb
10.479 KB
March 31 2020 11:42:18
root / linksafe
0644
store.rb
21.94 KB
March 31 2020 11:42:18
root / linksafe
0644
task.rb
7.672 KB
March 31 2020 11:42:18
root / linksafe
0644
test_case.rb
3.778 KB
March 31 2020 11:42:18
root / linksafe
0644
text.rb
7.337 KB
March 31 2020 11:42:18
root / linksafe
0644
token_stream.rb
2.503 KB
March 31 2020 11:42:18
root / linksafe
0644
tom_doc.rb
6.293 KB
March 31 2020 11:42:18
root / linksafe
0644
top_level.rb
5.44 KB
March 31 2020 11:42:18
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF