Seems ruby follows perl/awk in many ways especially arguments.
Print file name for files over 1k bytes .. obviously can do with find .. but you might want to slice/dice fields or do more with contents, etc.
$ ls -l | ruby -ane '$F[0]["d"] or ($F[4].to_i > 1000 and puts $F[-1])'
If you have found my website useful, please consider buying me a coffee below 😉