Class: Rabbit::Source::ARGF
- Inherits:
-
Object
- Object
- Rabbit::Source::ARGF
- 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
-
#initialize(encoding, logger, argf) ⇒ ARGF
constructor
A new instance of ARGF.
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_description ⇒ Object
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 |