Class: Rabbit::Source::ARGF

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/rabbit/source/argf.rb

Instance Attribute Summary

Attributes included from Base

#base, #encoding, #force_modified, #tmp_base

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Base

append_features, #extension, #full_path, #modified?, #need_read?, #old?, #open_full_path, #read, #reset, #source=, #tmp_dir_name

Constructor Details

#initialize(encoding, logger, argf) ⇒ ARGF

Returns a new instance of ARGF.


29
30
31
32
# File 'lib/rabbit/source/argf.rb', line 29

def initialize(encoding, logger, argf)
  super(encoding, logger)
  @argf = argf
end

Class Method Details

.initial_args_descriptionObject


25
26
27
# File 'lib/rabbit/source/argf.rb', line 25

def self.initial_args_description
  N_("none (get from STDIN) or [FILE_NAMES]")
end