[ruby] Add some examples of ruby matrix