Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class x(String $foo) {
  2. notice("Value of \$foo: ${foo}")
  3. notice("Size of \$foo: ${foo.size}")
  4. notify{$foo: }
  5. }
  6.  
  7. $x = Sensitive("bar")
  8. notice("Type of \$x: ${type_of($x)}")
  9. notice("Value of \$x: ${x}")
  10.  
  11. class{"x":
  12. foo => $x
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement