#!/usr/bin/env rubyclass Dog attr :bark, trueendp Dog.instance_methods.sort - Object.instance_methods # => [ "bark", "bark=" ]