Class: Issuesrc::FileInterface
- Inherits:
-
Object
- Object
- Issuesrc::FileInterface
- Defined in:
- lib/issuesrc/file.rb
Overview
This class is here for documentation only. All classes in the Sourcers module that want to be considered issuers need to implement this interface.
Instance Method Summary collapse
-
#body ⇒ IO
The body of the file.
-
#replace_at(pos, old_content_length, new_content) ⇒ Object
Replaces part of the body of the file, and saves it.
-
#type ⇒ Object
The type of the file as a file extension.
Instance Method Details
#body ⇒ IO
Returns The body of the file.
10 |
# File 'lib/issuesrc/file.rb', line 10 def body; end |
#replace_at(pos, old_content_length, new_content) ⇒ Object
Replaces part of the body of the file, and saves it.
19 |
# File 'lib/issuesrc/file.rb', line 19 def replace_at(pos, old_content_length, new_content); end |
#type ⇒ Object
Returns The type of the file as a file extension.
7 |
# File 'lib/issuesrc/file.rb', line 7 def type; end |