Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Query Method objects about their visibility.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.pryrc
.travis.yml
.yardopts
Gemfile
LICENSE.txt
README.md
Rakefile
metamethod.gemspec

README.md

OVERVIEW

Project MetaMethod
Homepage https://github.com/robgleeson/metamethod
Wiki https://github.com/robgleeson/metamethod/wiki
Author Rob Gleeson

DESCRIPTION

Query Method objects about their visibility (i.e: is the method public, protected, or private?).

EXAMPLES

1.

  require "metamethod"
  m = method(:foo).extend MetaMethod
  m.public? # => Boolean

2.

  require "metamethod/core_ext"
  method(:foo).public? # => Boolean

INSTALL

$ gem install metamethod

PLATFORM SUPPORT

It should work on any Ruby 1.9 implementation. 1.8 is not and will not be supported.

LICENSE

See LICENSE.txt (MIT).

Something went wrong with that request. Please try again.