"Fossies" - the Fresh Open Source Software Archive

Member "asciidoctor-2.0.10/lib/asciidoctor/core_ext.rb" (1 Jun 2019, 282 Bytes) of package /linux/www/asciidoctor-2.0.10.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 # frozen_string_literal: true
    2 require_relative 'core_ext/nil_or_empty'
    3 require_relative 'core_ext/hash/merge'
    4 if RUBY_ENGINE == 'opal'
    5   require_relative 'core_ext/match_data/names'
    6 else
    7   require_relative 'core_ext/float/truncate'
    8   require_relative 'core_ext/regexp/is_match'
    9 end