cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: Supports using Ruby language to extend PPE language instructions.

Open snowyu opened this issue 1 year ago • 0 comments

Inline ruby function to extend instruction:

- !fn |-
    [ruby] def add(a,b)
      return a+b
    end
- $add(1,2)

Import ruby functions from file:

---
import: "./my.rb"
---
- $add(1,2)
# my.rb
def add(a,b)
  return a+b
end

snowyu avatar Sep 17 '24 01:09 snowyu