Class: Terse::Settings
- Inherits:
-
Object
- Object
- Terse::Settings
- Defined in:
- lib/terse/settings.rb
Instance Attribute Summary collapse
-
#file_ext ⇒ Object
do not include the leading .
-
#indent_in ⇒ Object
array of keywords that should cause inward indentation.
-
#indent_in_regex ⇒ Object
regex that should match any of @indent_in as closely as possible.
-
#indent_out ⇒ Object
array of keywords that should cause outward indentation.
-
#indent_out_regex ⇒ Object
regex that should match any of @indent_out as closely as possible.
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#line_ending ⇒ Object
Returns the value of attribute line_ending.
-
#loop_ending ⇒ Object
Returns the value of attribute loop_ending.
-
#loop_start ⇒ Object
Returns the value of attribute loop_start.
-
#one_keyword_per_line ⇒ Object
Returns the value of attribute one_keyword_per_line.
Instance Attribute Details
#file_ext ⇒ Object
do not include the leading . , e.g. “rb” not “.rb”
6 7 8 |
# File 'lib/terse/settings.rb', line 6 def file_ext @file_ext end |
#indent_in ⇒ Object
array of keywords that should cause inward indentation
13 14 15 |
# File 'lib/terse/settings.rb', line 13 def indent_in @indent_in end |
#indent_in_regex ⇒ Object
regex that should match any of @indent_in as closely as possible
14 15 16 |
# File 'lib/terse/settings.rb', line 14 def indent_in_regex @indent_in_regex end |
#indent_out ⇒ Object
array of keywords that should cause outward indentation
15 16 17 |
# File 'lib/terse/settings.rb', line 15 def indent_out @indent_out end |
#indent_out_regex ⇒ Object
regex that should match any of @indent_out as closely as possible
16 17 18 |
# File 'lib/terse/settings.rb', line 16 def indent_out_regex @indent_out_regex end |
#lang ⇒ Object
Returns the value of attribute lang.
5 6 7 |
# File 'lib/terse/settings.rb', line 5 def lang @lang end |
#line_ending ⇒ Object
Returns the value of attribute line_ending.
11 12 13 |
# File 'lib/terse/settings.rb', line 11 def line_ending @line_ending end |
#loop_ending ⇒ Object
Returns the value of attribute loop_ending.
10 11 12 |
# File 'lib/terse/settings.rb', line 10 def loop_ending @loop_ending end |
#loop_start ⇒ Object
Returns the value of attribute loop_start.
9 10 11 |
# File 'lib/terse/settings.rb', line 9 def loop_start @loop_start end |
#one_keyword_per_line ⇒ Object
Returns the value of attribute one_keyword_per_line.
7 8 9 |
# File 'lib/terse/settings.rb', line 7 def one_keyword_per_line @one_keyword_per_line end |