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.



13
14
15
16
# File 'lib/rabbit/source/argf.rb', line 13

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

Class Method Details

.initial_args_descriptionObject



9
10
11
# File 'lib/rabbit/source/argf.rb', line 9

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