Passed
Push — master ( 42b3d9...1e444f )
by
unknown
02:27
created

HtmlColumn   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 10
dl 0
loc 11
c 0
b 0
f 0
rs 10

2 Functions

Rating   Name   Duplication   Size   Complexity  
A toString 0 3 1
A getRaw 0 3 1
1
export class HtmlColumn {
2
  public readonly isRaw = true;
3
4
  constructor(private readonly text: string, private readonly html: string) {}
5
6
  public getRaw(): string {
7
    return this.html;
8
  }
9
10
  public toString() {
11
    return this.text;
12
  }
13
}
14