NAME

Venus::Kind - Kind Base Class

ABSTRACT

Kind Base Class for Perl 5

SYNOPSIS

package Example;

use Venus::Class;

extends 'Venus::Kind';

package main;

my $example = Example->new;

DESCRIPTION

This package provides identity and methods common across all Venus classes.

INTEGRATES

This package integrates behaviors from:

Venus::Role::Boxable

Venus::Role::Catchable

Venus::Role::Doable

Venus::Role::Dumpable

Venus::Role::Printable

Venus::Role::Throwable

METHODS

This package provides the following methods:

class

class() (Str)

The class method returns the class name for the given class or object.

Since 0.01

class example 1
# given: synopsis;

my $class = $example->class;

# "Example"

space

space() (Space)

The space method returns a Venus::Space object for the given object.

Since 0.01

space example 1
# given: synopsis;

my $space = $example->space;

# bless({ value => "Example" }, "Venus::Space")

type

type() (Type)

The type method returns a Venus::Type object for the given object.

Since 0.01

type example 1
# given: synopsis;

my $type = $example->type;

# bless({ value => bless({}, "Example") }, "Venus::Type")

AUTHORS

Cpanery, cpanery@cpan.org

LICENSE

Copyright (C) 2021, Cpanery

Read the "license" file.