-
-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathExtractRubyOptions.java
More file actions
40 lines (31 loc) · 821 Bytes
/
ExtractRubyOptions.java
File metadata and controls
40 lines (31 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package org.herb;
public class ExtractRubyOptions {
private boolean semicolons = true;
private boolean comments = false;
private boolean preservePositions = true;
public ExtractRubyOptions() {}
public ExtractRubyOptions semicolons(boolean value) {
this.semicolons = value;
return this;
}
public boolean isSemicolons() {
return semicolons;
}
public ExtractRubyOptions comments(boolean value) {
this.comments = value;
return this;
}
public boolean isComments() {
return comments;
}
public ExtractRubyOptions preservePositions(boolean value) {
this.preservePositions = value;
return this;
}
public boolean isPreservePositions() {
return preservePositions;
}
public static ExtractRubyOptions create() {
return new ExtractRubyOptions();
}
}