did_you_mean
The gem that has been saving people from typos since 2014
파일 탐색기
- ruby.yml
- sync-ruby.yml
- dependabot.yml
- memory_usage.rb
- speed.rb
- memory_usage.rb
- speed.rb
- memory_usage.rb
- require_path_checker.rb
- speed.yml
- CHANGELOG.md.erb
- changelog_generator.rb
- human_typo_api.md
- tree_spell_algorithm.md
- tree_spell_checker_api.md
- calculator.rb
- dictionary_generator.rb
- incorrect_words.yaml
- name_error.rb
- plain_formatter.rb
- verbose_formatter.rb
- class_name_checker.rb
- variable_name_checker.rb
- key_error_checker.rb
- method_name_checker.rb
- name_error_checkers.rb
- null_checker.rb
- pattern_key_name_checker.rb
- require_path_checker.rb
- experimental.rb
- formatter.rb
- jaro_winkler.rb
- levenshtein.rb
- spell_checker.rb
- tree_spell_checker.rb
- verbose.rb
- version.rb
- did_you_mean.rb
- test_name_error_extension.rb
- test_jaro_winkler.rb
- book.rb
- mini_dir.yml
- rspec_dir.yml
- helper.rb
- test_class_name_check.rb
- test_key_name_check.rb
- test_method_name_check.rb
- test_pattern_key_name_check.rb
- test_require_path_check.rb
- test_uncorrectable_name_check.rb
- test_variable_name_check.rb
- change_word.rb
- human_typo.rb
- test_change_word.rb
- test_explore.rb
- test_human_typo.rb
- helper.rb
- test_ractor_compatibility.rb
- test_spell_checker.rb
- test_tree_spell_checker.rb
- .gitignore
- CHANGELOG.md
- did_you_mean.gemspec
- Gemfile
- LICENSE.txt
- Rakefile
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bundle
설명 보기 ▼
bundle
Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.
bundle install
작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:
bundle exec {{command}} {{arguments}}
현재 번들의 컨텍스트에서 명령을 실행:
bundle update
`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:
git checkout
설명 보기 ▼
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git commit
설명 보기 ▼
git commit
Commit files to the repository.
git commit
Open an editor to write a message and commit staged files to the repository:
git commit {{[-m|--message]}} "{{message}}"
Commit staged files to the repository with the specified message:
git commit {{[-F|--file]}} {{path/to/commit_message_file}}
Commit staged files with a message read from a file:
git push
설명 보기 ▼
git push
Push commits to a remote repository.
git push
Send local changes in the current branch to its default remote counterpart:
git push {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart:
git push {{[-u|--set-upstream]}} {{remote_name}} {{local_branch}}
Send changes from a specific local branch to its remote counterpart, and set the remote one as the default push/pull target of the local one:
irb
설명 보기 ▼
irb
Ruby 대화형 쉘 .
`stdin`에서 입력된 Ruby 코드를 실행.
더 많은 정보: <https://ruby.github.io/irb/>.
irb
대화형 쉘 시작:
irb --simple-prompt
Start the interactive shell with the simple prompt:
irb -f
Start the interactive shell without reading the configuration file:
rails console
설명 보기 ▼
rails console
Interact with a Rails application.
rails console
Start the Rails console:
rails console {{[-s|--sandbox]}}
Start the Rails console and roll back all data modifications on exit:
rails console {{[-e|--environment]}} {{dev|test|production|...}}
Start the Rails console on a specified environment:
ruby
설명 보기 ▼
ruby
Ruby 프로그래밍 언어 인터프리터.
관련 항목: `gem`, `bundler`, `rake`, `irb`, `ri`.
더 많은 정보: <https://manned.org/ruby>.
ruby {{path/to/script.rb}}
Ruby 스크립트를 실행:
ruby -e "{{command}}"
명령줄에서 단일 Ruby 명령을 실행:
ruby -c {{path/to/script.rb}}
지정한 Ruby 스크립트의 문법 오류를 확인:
lib
설명 보기 ▼
lib
Microsoft Library Manager(라이브러리 관리 도구)로, 오브젝트 파일로부터 정적 라이브러리를 생성하고 관리.
더 많은 정보: <https://learn.microsoft.com/cpp/build/reference/lib-reference>.
lib /OUT :{{path\to\library.lib}} {{path\to\file1.obj path\to\file2.obj ...}}
오브젝트 파일로부터 정적 라이브러리 생성:
lib /LIST {{path\to\library.lib}}
라이브러리의 내용 목록 표시:
lib {{path\to\library.lib}} {{path\to\file.obj}}
기존 라이브러리에 오브젝트 파일 추가:
