NAME

Stencil::Source::Awncorp::Class

ABSTRACT

Stencil Generator for Classes

SYNOPSIS

use Stencil::Source::Awncorp::Class;

my $s = Stencil::Source::Awncorp::Class->new;

DESCRIPTION

This package provides a Stencil generator for Data::Object::Class based roles and Test::Auto tests. This generator produces the following specification:

name: MyApp
desc: Doing One Thing Very Well

libraries:
- MyApp::Types

inherits:
- MyApp::Parent

integrates:
- MyApp::Role::Doable

attributes:
- is: ro
  name: name
  type: Str
  form: req

operations:
- from: class
  make: lib/MyApp.pm
- from: class-test
  make: t/MyApp.t

scenarios:
- name: exports
  desc: exporting the following functions

functions:
- name: handler_a
  args: "(Str $key) : Any"
  desc: executes something which triggers something else

methods:
- name: handle_b
  args: "(Str $key) : Any"
  desc: executes something which triggers something else

routines:
- name: handle_c
  args: "(Str $key) : Any"
  desc: executes something which triggers something else

INHERITS

This package inherits behaviors from:

Stencil::Source

LIBRARIES

This package uses type constraints from:

Types::Standard

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".

PROJECT

Wiki

Project

Initiatives

Milestones

Contributing

Issues