Class: Cecil::Lang::Rust
Overview
rubocop:disable Style/Documentation
Defined Under Namespace
Modules: Helpers
Constant Summary
Constants inherited from Code
Code::PLACEHOLDER_NO_BRACKETS_PAIR
Instance Method Summary collapse
-
#handle_ambiguous_indentation ⇒ Object
Overrides to ignore ambiguous indentation.
-
#indent_chars ⇒ Object
Overrides to use 4 spaces for indentation.
Methods inherited from Code
#block_ending_pairs, generate, generate_string, #placeholder_delimiting_pairs, #placeholder_ident_re, #placeholder_re, #placeholder_start_re, #scan_for_placeholders
Instance Method Details
#handle_ambiguous_indentation ⇒ Object
Overrides to ignore ambiguous indentation
10 |
# File 'lib/cecil/lang/rust.rb', line 10 def handle_ambiguous_indentation = Cecil::Indentation::Ambiguity.ignore |
#indent_chars ⇒ Object
Overrides to use 4 spaces for indentation
7 |
# File 'lib/cecil/lang/rust.rb', line 7 def indent_chars = " " |