blib/lib/UR/Doc/Section.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 16 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package UR::Doc::Section;
2  
3 use strict;
4 use warnings;
5  
6 use UR;
7 our $VERSION = "0.46"; # UR $VERSION;
8  
9 class UR::Doc::Section {
10 is => 'UR::Object',
11 has => [
12 title => {
13 is => 'Text',
14 is_optional => 1,
15 },
16 content => {
17 is => 'Text',
18 doc => 'pod content for this section',
19 },
20 format => {
21 is => 'Text',
22 default_value => 'pod',
23 valid_values => ['html','pod','txt'],
24 },
25 ],
26 };