NAME

Devel::Ladybug::Class::Dumper - Class and object introspection mix-in

PUBLIC CLASS MIX-IN METHODS

    * $class->members()

    Return an Devel::Ladybug::Array containing the names of all valid messages (symbols) in this class.

    * $class->membersHash()

    Return an Devel::Ladybug::Hash containing the CODE refs of all valid messages in this class, keyed on message (symbol) name.

    * $class->asserts()

    Returns all assertions for this class, including those which were inherited.

    my $asserts = $class->asserts();

    * $class->__baseAsserts()

    Returns the assertions which were inherited from the current class's superclass.

PUBLIC INSTANCE MIX-IN METHODS

  • $self->sprint(), $self->toYaml()

    Object introspection method.

    Returns a string containing a YAML representation of the current object.

    $r->content_type('text/plain');
    
    $r->print($object->toYaml());
  • $self->print()

    Prints a YAML representation of the current object to STDOUT.

  • $self->prettySprint();

    Returns a nicely formatted string representing the contents of self

  • $self->prettyPrint();

    Prints a nicely formatted string representing self to STDOUT

SEE ALSO

This file is part of Devel::Ladybug.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 20:

You can't have =items (as at line 39) unless the first thing after the =over is an =item