File: Section.pm

package info (click to toggle)
libur-perl 0.470%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,192 kB
  • sloc: perl: 61,814; javascript: 255; xml: 108; sh: 13; makefile: 9
file content (26 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
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
package UR::Doc::Section;

use strict;
use warnings;

use UR;
our $VERSION = "0.47"; # UR $VERSION;

class UR::Doc::Section {
    is => 'UR::Object',
    has => [
        title => {
            is => 'Text',
            is_optional => 1,
        },
        content => {
            is => 'Text',
            doc => 'pod content for this section',
        },
        format => {
            is => 'Text',
            default_value => 'pod',
            valid_values => ['html','pod','txt'],
        },
    ],
};