{"id":21236155,"url":"https://github.com/codeupjewell/ruby-string-demo","last_synced_at":"2025-03-15T03:13:07.533Z","repository":{"id":149927859,"uuid":"610002518","full_name":"CodeUpJewell/Ruby-String-demo","owner":"CodeUpJewell","description":"Ruby string practice","archived":false,"fork":false,"pushed_at":"2023-03-05T21:25:03.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T18:49:21.184Z","etag":null,"topics":["methods","practice-project","ruby","string","syntax"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeUpJewell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-05T21:23:59.000Z","updated_at":"2023-03-05T21:26:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5740c5d-1908-4e54-b378-1507f826bbc2","html_url":"https://github.com/CodeUpJewell/Ruby-String-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeUpJewell%2FRuby-String-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeUpJewell%2FRuby-String-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeUpJewell%2FRuby-String-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeUpJewell%2FRuby-String-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeUpJewell","download_url":"https://codeload.github.com/CodeUpJewell/Ruby-String-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243676776,"owners_count":20329434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["methods","practice-project","ruby","string","syntax"],"created_at":"2024-11-21T00:07:19.476Z","updated_at":"2025-03-15T03:13:07.525Z","avatar_url":"https://github.com/CodeUpJewell.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby Practice\n\nRun your Ruby file by typing `ruby ` and then the name of the file you want to run in the Terminal.\n\nIf we want to run `string_multiplication.rb`, we can write the command:\n\n```bash\nruby string_multiplication.rb\n```\n\nTo re-run this command, you can use the UP and DOWN arrow keys to look at the history of commands you've run in a Terminal.\n\n## String\n\n### string_multiplication.rb\nShould output:\n```\n\"HoHoHo\"\n```\nusing String multiplication.\n\n(Don't just print the String literal `\"HoHoHo\"`)\n\n### string_case.rb\nShould output:\n```\n\"HELLO friends AnD FaMiLy\"\n```\nusing a combination of the `upcase`, `downcase`, and `swapcase` methods.\n\n### string_chomp.rb\nShoud output:\n```\n\"Hello!\"\n```\nusing the given starting variable.\n\n### string_gsub.rb\nShould output:\n```\n\"put spaces in between these words\"\n```\nusing the given starting variable.\n\n### string_strip.rb\nShould output exactly\n```\n\"remove the outside spaces\"\n```\nusing the given starting variable.\n\n### string_gets.rb\nWrite a program that gets a name (e.g. \"alice\") from the user, capitalizes it, and then says \"Hello, Alice!\"\n\nShould work similarly to the following:\n```\n\"What's your name?\"\njelani\n\"Hello, Jelani!\"\n```\n\n## Specs\n\u003cdetails\u003e\n  \u003csummary\u003eClick here to see names of each test\u003c/summary\u003e\n\nstring_multiplication.rb should output 'HoHoHo' using String multiplication \n\nstring_strip.rb should output 'remove outside spaces'\n\nstring_case.rb should output 'HELLO friends AnD FaMiLy' \n\nstring_gsub.rb should output 'put spaces in between these words' \n\nstring_chomp.rb should remove ending '$' \n\nstring_gets.rb should output 'Hello, name!' \n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeupjewell%2Fruby-string-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeupjewell%2Fruby-string-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeupjewell%2Fruby-string-demo/lists"}