Ruby-2-7

Ruby 2.7 adds shorthand operator for Object#method

Ruby 2.7 adds experimental shorthand operator for Object#method. Allows method object access using :, example File.:basename