Module: Spellr
- Defined in:
- lib/spellr.rb,
lib/spellr/cli.rb,
lib/spellr/pwd.rb,
lib/spellr/file.rb,
lib/spellr/check.rb,
lib/spellr/token.rb,
lib/spellr/config.rb,
lib/spellr/output.rb,
lib/spellr/version.rb,
lib/spellr/language.rb,
lib/spellr/reporter.rb,
lib/spellr/wordlist.rb,
lib/spellr/backports.rb,
lib/spellr/file_list.rb,
lib/spellr/rake_task.rb,
lib/spellr/tokenizer.rb,
lib/spellr/cli_options.rb,
lib/spellr/interactive.rb,
lib/spellr/validations.rb,
lib/spellr/base_reporter.rb,
lib/spellr/check_dry_run.rb,
lib/spellr/config_loader.rb,
lib/spellr/line_location.rb,
lib/spellr/string_format.rb,
lib/spellr/token_regexps.rb,
lib/spellr/line_tokenizer.rb,
lib/spellr/null_suggester.rb,
lib/spellr/output_stubbed.rb,
lib/spellr/quiet_reporter.rb,
lib/spellr/column_location.rb,
lib/spellr/interactive_add.rb,
lib/spellr/config_validator.rb,
lib/spellr/wordlist_reporter.rb,
lib/spellr/autocorrect_reporter.rb,
lib/spellr/interactive_replacement.rb,
lib/spellr/suggester.rb
Defined Under Namespace
Modules: StringFormat, TokenRegexps, Validations, YAMLPermittedClasses
Classes: AutocorrectReporter, BaseReporter, CLI, Check, CheckDryRun, ColumnLocation, Config, ConfigLoader, ConfigValidator, Error, File, FileList, Interactive, InteractiveAdd, InteractiveReplacement, InvalidByteSequence, Language, LineLocation, LineTokenizer, NullSuggester, Output, OutputStubbed, QuietReporter, RakeTask, Reporter, Suggester, Token, Tokenizer, Wordlist, WordlistReporter
Constant Summary
collapse
- VERSION =
'0.11.0'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
28
29
30
|
# File 'lib/spellr.rb', line 28
def config
@config ||= Spellr::Config.new
end
|
.exit(status = 0) ⇒ Object
32
33
34
|
# File 'lib/spellr.rb', line 32
def exit(status = 0)
throw(:spellr_exit, status)
end
|
.pwd ⇒ Object
8
9
10
|
# File 'lib/spellr/pwd.rb', line 8
def pwd
@pwd ||= Pathname.pwd
end
|
.pwd_s ⇒ Object
12
13
14
|
# File 'lib/spellr/pwd.rb', line 12
def pwd_s
@pwd_s ||= pwd.to_s
end
|