Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JocelyneEsparzaLopez--Practice4 #28

Open
wants to merge 2 commits into
base: practice-day4
Choose a base branch
from

Conversation

JossEsparza
Copy link

Hi @Apostat23, @Rikard189, @hivanreyes :
here is the delivery of the practice.
The output of the practice:
image

Archiver.rb file created accordingly to the class.
Archiver.rb file: reset_cursor method created.
@JossEsparza JossEsparza reopened this Jan 13, 2022

def close
@file.close
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

file.write_file(data: "\nHola, soy Jossy")
file.reset_cursor
puts file.read_file(lines: true)
file.close
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An extra empty line at the end is taken as a good practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants