aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/texinfo_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/texinfo_format.rb')
-rw-r--r--lib/sisu/texinfo_format.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/sisu/texinfo_format.rb b/lib/sisu/texinfo_format.rb
index e199f57b..d9ff1f40 100644
--- a/lib/sisu/texinfo_format.rb
+++ b/lib/sisu/texinfo_format.rb
@@ -9,7 +9,7 @@
#
# - Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2019,
-# 2020, 2021, Ralph Amissah,
+# 2020, 2021, 2024, 2025 Ralph Amissah,
# All Rights Reserved.
#
# - License: GPL 3 or later:
@@ -29,14 +29,12 @@
# more details.
#
# You should have received a copy of the GNU General Public License along with
-# this program. If not, see <http://www.gnu.org/licenses/>.
+# this program. If not, see <https://www.gnu.org/licenses/>.
#
# If you have Internet connection, the latest version of the GPL should be
# available at these locations:
-# <http://www.fsf.org/licensing/licenses/gpl.html>
-# <http://www.gnu.org/licenses/gpl.html>
-#
-# <http://www.sisudoc.org/sisu/en/manifest/gpl.fsf.html>
+# <https://www.fsf.org/licensing/licenses/gpl.html>
+# <https://www.gnu.org/licenses/gpl.html>
#
# - SiSU uses:
# - Standard SiSU markup syntax,
@@ -44,7 +42,7 @@
# - Standard SiSU object citation numbering and system
#
# - Homepages:
-# <http://www.sisudoc.org>
+# <https://www.sisudoc.org>
#
# - Git
# <https://git.sisudoc.org/projects/>
@@ -271,7 +269,7 @@ WOK
def clean(dob)
if dob.is==:heading \
and dob.obj !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/
- dob.obj=dob.ocn.is_a?(Fixnum) \
+ dob.obj=dob.ocn.is_a?(Integer) \
? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj
end
dob.obj=dob.obj.gsub(/\n/m,' ').
@@ -514,7 +512,7 @@ WOK
def clean(dob,txt)
if dob.is==:heading \
and txt !~/#{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}/
- txt=dob.ocn.is_a?(Fixnum) \
+ txt=dob.ocn.is_a?(Integer) \
? "#{dob.obj} #{Dx[:ocn_o]}#{dob.ocn}#{Dx[:ocn_c]}" : dob.obj
end
txt.strip