Safer is an umbrella library, with components designed to make it simple to verify and improve the safety of your ruby code. There are at present two modules under the safer umbrella: [<tt>Safer::IVar</tt>] generates specially-named accessor functions for class instance variables. [<tt>Safer::Protocol</tt>] is used to provide a ruby analogue to Objective-C Protocols (which are similar to Java interfaces, but do not require inheritance).
Gemfile gem 'safer', '~> 0.2.1'
install gem install safer -v 0.2.1