/visibility_cloak

Syntax to let `Module#public`, `Module#protected`, and `Module#private` each take a block of method definitions. WIP. The new block syntax works, and the current argument syntax works, but the current standalone syntax is busted.

Primary LanguageRubyMIT LicenseMIT

VisibilityCloak

WARNING: This totally does not work yet, and besides, may not be that great of an idea

Lets Module#public, Module#protected, and Module#private each take a block of method definitions.

Installation

Add this line to your application's Gemfile:

gem 'visibility_cloak'

And then execute:

$ bundle

Or install it yourself as:

$ gem install visibility_cloak

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request