Class: Pray::RenderPolicy
- Inherits:
-
Struct
- Object
- Struct
- Pray::RenderPolicy
- Defined in:
- lib/pray/manifest.rb
Instance Attribute Summary collapse
-
#churn ⇒ Object
Returns the value of attribute churn.
-
#conflict ⇒ Object
Returns the value of attribute conflict.
-
#header ⇒ Object
Returns the value of attribute header.
-
#line_endings ⇒ Object
Returns the value of attribute line_endings.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#section_markers ⇒ Object
Returns the value of attribute section_markers.
Class Method Summary collapse
Instance Attribute Details
#churn ⇒ Object
Returns the value of attribute churn
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def churn @churn end |
#conflict ⇒ Object
Returns the value of attribute conflict
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def conflict @conflict end |
#header ⇒ Object
Returns the value of attribute header
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def header @header end |
#line_endings ⇒ Object
Returns the value of attribute line_endings
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def line_endings @line_endings end |
#mode ⇒ Object
Returns the value of attribute mode
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def mode @mode end |
#section_markers ⇒ Object
Returns the value of attribute section_markers
10 11 12 |
# File 'lib/pray/manifest.rb', line 10 def section_markers @section_markers end |
Class Method Details
.default ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/pray/manifest.rb', line 13 def self.default new( mode: "managed", conflict: "fail", churn: "minimal", header: true, section_markers: true, line_endings: "lf" ) end |