Guest User

Untitled

a guest
Apr 24th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. class SampleConfigurableBlock < ConfigurableBlock
  2. def do_almost_nothing message
  3. output "out", @config.value_at("/return_value")
  4. end
  5.  
  6. inputs ["do_almost_nothing"]
  7. outputs ["out"]
  8.  
  9. # ConfigurableBlock methods:
  10.  
  11. def schema
  12. res = DataSchema.new
  13. res.add_node "/return_value", true
  14. res
  15. end
  16. end
Add Comment
Please, Sign In to add comment