Skip to content

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

@snowyu

Description

@snowyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions