File Coverage

blib/lib/Faker/Plugin/EnUs/CompanyTagline.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Faker::Plugin::EnUs::CompanyTagline;
2              
3 2     2   23485 use 5.018;
  2         9  
4              
5 2     2   11 use strict;
  2         6  
  2         47  
6 2     2   10 use warnings;
  2         4  
  2         71  
7              
8 2     2   14 use Venus::Class 'base';
  2         4  
  2         14  
9              
10             base 'Faker::Plugin::EnUs';
11              
12             # VERSION
13              
14             our $VERSION = '1.18';
15              
16             # METHODS
17              
18             sub execute {
19 7     7 1 1432 my ($self, $data) = @_;
20              
21 7         33 return join ' ',
22             $self->faker->jargon_verb,
23             $self->faker->jargon_adjective,
24             $self->faker->jargon_noun,
25             }
26              
27             1;
28              
29              
30              
31             =head1 NAME
32              
33             Faker::Plugin::EnUs::CompanyTagline - Company Tagline
34              
35             =cut
36              
37             =head1 ABSTRACT
38              
39             Company Tagline for Faker
40              
41             =cut
42              
43             =head1 VERSION
44              
45             1.18
46              
47             =cut
48              
49             =head1 SYNOPSIS
50              
51             package main;
52              
53             use Faker::Plugin::EnUs::CompanyTagline;
54              
55             my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
56              
57             # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
58              
59             =cut
60              
61             =head1 DESCRIPTION
62              
63             This package provides methods for generating fake data for company tagline.
64              
65             =encoding utf8
66              
67             =cut
68              
69             =head1 INHERITS
70              
71             This package inherits behaviors from:
72              
73             L
74              
75             =cut
76              
77             =head1 METHODS
78              
79             This package provides the following methods:
80              
81             =cut
82              
83             =head2 execute
84              
85             execute(HashRef $data) (Str)
86              
87             The execute method returns a returns a random fake company tagline.
88              
89             I>
90              
91             =over 4
92              
93             =item execute example 1
94              
95             package main;
96              
97             use Faker::Plugin::EnUs::CompanyTagline;
98              
99             my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
100              
101             # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
102              
103             # my $result = $plugin->execute;
104              
105             # "transform revolutionary supply-chains";
106              
107             # my $result = $plugin->execute;
108              
109             # "generate front-end web-readiness";
110              
111             # my $result = $plugin->execute;
112              
113             # "iterate back-end content";
114              
115             =back
116              
117             =cut
118              
119             =head2 new
120              
121             new(HashRef $data) (Plugin)
122              
123             The new method returns a new instance of the class.
124              
125             I>
126              
127             =over 4
128              
129             =item new example 1
130              
131             package main;
132              
133             use Faker::Plugin::EnUs::CompanyTagline;
134              
135             my $plugin = Faker::Plugin::EnUs::CompanyTagline->new;
136              
137             # bless(..., "Faker::Plugin::EnUs::CompanyTagline")
138              
139             =back
140              
141             =cut
142              
143             =head1 AUTHORS
144              
145             Awncorp, C
146              
147             =cut
148              
149             =head1 LICENSE
150              
151             Copyright (C) 2000, Al Newkirk.
152              
153             This program is free software, you can redistribute it and/or modify it under
154             the terms of the Apache license version 2.0.
155              
156             =cut