Changeset [c84158cb4c9b3f91cc35e54afb8c12c8d9fb577a] by Dag Odenhall

April 26th, 2008 @ 10:10 AM

Simplify and restructurize Options

  • lib/amazing/options.rb: (Options) Inherit from Hash

instead of including enumerable.

(initialize) Move away aspects to private methods.

(each) Dropped, now inherited from Hash.

([]) Inherited from Hash.

([]=) Inherited from Hash.

(initialize_defaults) Set defaults on self here.

(initialize_parser) Set up the parser for self here.

http://github.com/dag/amazing/co...

Committed by Dag Odenhall

  • M lib/amazing/options.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

An amazing widget manager for an awesome window manager