forward_these_functions

0.0.1 • Public • Published

forward_these_functions

A delegator for specific functions. This is so specific to my needs, you won't be able to use it.

Usage

In coffeescript:

funcy_forward = require "forward_these_functions"

class List_Position:

  funcy_forward @prototype, "target", "pop", "push"

  constructor: ( list ) ->
    @list = list
    
  target: () ->
    @list
    

o = new List_Position []
o.push "a"
o.pop() # -> a

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i forward_these_functions

Weekly Downloads

2

Version

0.0.1

License

BSD

Last publish

Collaborators

  • da99