Sha256: 34cd70b67381f6298a52697f672274e98d958c2f90e7d979c449ba15cfa14a6a
Contents?: true
Size: 477 Bytes
Versions: 12
Compression:
Stored size: 477 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
12 entries across 12 versions & 1 rubygems