Class: ActiveMocker::FileReader Private
- Inherits:
-
Object
- Object
- ActiveMocker::FileReader
- Defined in:
- lib/active_mocker/file_reader.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .read(file_and_path) ⇒ Object private
Class Method Details
.read(file_and_path) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
5 6 7 |
# File 'lib/active_mocker/file_reader.rb', line 5 def self.read(file_and_path) File.open(file_and_path).read end |