Better HN
topnewbestaskshowjobs
Log inSign up

lluu

3 karma · joined Aug 29, 2015 (11y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

The way to do the last bit in Ruby is:

  method_as_fun = o.method(:my_method)
  method_as_fun.call(5) # 15

comment 6y ago · link · parent

You could try cloning your wiki using this method https://gist.github.com/hanxue/8488564. It's worth a shot - it may be possible that the user still has permission to clone.