Skip to content

Instantly share code, notes, and snippets.

@sevvie
Last active December 17, 2015 02:29
Show Gist options
  • Save sevvie/5536327 to your computer and use it in GitHub Desktop.
Save sevvie/5536327 to your computer and use it in GitHub Desktop.
Converting TestML-rb's
testml = require("../lib/testml")
class TestMLBridge
uppercase: (s) ->
s.to-upper-case!
lowercase: (s) ->
s.to-lower-case!
combine: (...args) ->
fold (++), "", args
f1: (n) ->
n * 42 + n
f2: (n) ->
n ^ 2 + n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment