#!/usr/bin/env rubyclass Gaits attr_accessor :walk, :trot, :canterendp Gaits.instance_methods.sort - Object.instance_methods # => ["canter", "canter=", "trot", "trot=", "walk", "walk="]