Original code:
class Path def initialize(path) @current_path = path end def current_path @current_path end def cd(new_path) end end path = Path.new('/a/b/c/d') path.cd('../x') puts path.current_path
Dashboard
Start Trial
Sign In
Home
Product
Features
Use Cases
Customers
ROI Calculator
Integrations
Assessments
Tests
Questions
Pricing
Resources
Book: Evidence-Based Hiring
Blog
Support
Contact Us
Legal
For Jobseekers
© TestDome, 2024.