lib/model/ActorPlugin.js   A
last analyzed

Size

Lines of Code 14

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
nc 1
dl 0
loc 14
rs 10
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A ActorPlugin.js ➔ ??? 0 3 1
1
"use strict";
2
3
const Plugin = require('./Plugin');
4
5
/**
6
 * Represent the leprechaun responsible of doing an action
7
 */
8
class ActorPlugin extends Plugin {
9
    act() {
10
        throw new Error("ActorPlugin::act() must be overridden !");
11
    }
12
}
13
14
module.exports = ActorPlugin;
15