UNPKG

scientist.js

Version:

A JavaScript interpretation of the Ruby library Scientist, a library for carefully refactoring critical paths.

10 lines (9 loc) 187 B
export default class User { constructor(name) { this.name = name; } can(permission, model) { console.log('[USER] can'); return false; } }