Ruby Essential Training Part 3: Files, Formats, Templates
Offered By: LinkedIn Learning
Course Description
Overview
Use Ruby to interact with the file system. Learn how to read and write to files, import and export data, create reusable templates, and find and organize files and directories.
Syllabus
Introduction
- Learn the essentials of working with files in Ruby
- What you need to know
- Input/output basics
- File system basics
- Types of file paths
- File permissions
- Access files
- Write to files
- Read from files
- File pointer
- Read or write an entire file
- Rename, delete, copy
- Examine file details
- Challenge: List maker
- Solution: List maker
- Create directories
- Change directories
- Entries
- Glob
- Challenge: Multi-list maker
- Solution: Multi-list maker
- CSV
- CSV to hashes
- YAML
- JSON
- XML
- Embed Ruby
- Binding
- Template files
- Challenge: Mail merge
- Solution: Mail merge
- Next steps
Taught by
Kevin Skoglund
Related Courses
Web Application ArchitecturesUniversity of New Mexico via Coursera Ruby مدخل إلى برمجة مواقع الإنترنت باستخدام لغة
Rwaq (رواق) Rails with Active Record and Action Pack
Johns Hopkins University via Coursera Ruby on Rails: An Introduction
Johns Hopkins University via Coursera Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera