mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
More or less standardised separator comments in the code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#===============================================================================
|
||||
# Reads files of certain format from a directory
|
||||
# Reads files of certain format from a directory
|
||||
#===============================================================================
|
||||
class Dir
|
||||
# Reads all files in a directory
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
module FileInputMixin
|
||||
def fgetb
|
||||
ret = 0
|
||||
@@ -85,6 +88,9 @@ module FileInputMixin
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
module FileOutputMixin
|
||||
def fputb(b)
|
||||
b &= 0xFF
|
||||
@@ -108,6 +114,9 @@ module FileOutputMixin
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
class File < IO
|
||||
# unless defined?(debugopen)
|
||||
# class << self
|
||||
@@ -128,6 +137,9 @@ class File < IO
|
||||
include FileOutputMixin
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
class StringInput
|
||||
include FileInputMixin
|
||||
|
||||
@@ -144,6 +156,9 @@ class StringInput
|
||||
def binmode; end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
class StringOutput
|
||||
include FileOutputMixin
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user