Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SampleConfigurableBlock < ConfigurableBlock
- def do_almost_nothing message
- output "out", @config.value_at("/return_value")
- end
- inputs ["do_almost_nothing"]
- outputs ["out"]
- # ConfigurableBlock methods:
- def schema
- res = DataSchema.new
- res.add_node "/return_value", true
- res
- end
- end
Add Comment
Please, Sign In to add comment