Sha256: 2ecac429b6e6e8a5736b446a1bc24dc809c111c0f2927987814fd0c4914c95fa
Contents?: true
Size: 501 Bytes
Versions: 31
Compression:
Stored size: 501 Bytes
Contents
require "rabbit/source/base" module Rabbit module Source class ARGF include Base def self.initial_args_description N_("none (get from STDIN) or [FILE_NAMES]") end def initialize(encoding, logger, argf) super(encoding, logger) @argf = argf end private def _read begin @argf.read rescue @logger.error($!.message) "" end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems