Skip to content
Method#parameters for ruby-1.9.1
C Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ext
lib
.gitignore
ChangeLog
README
Rakefile
methopara.gemspec

README

methopara is stands for METHOd PARAmeters.

INSTALL:
  
  sudo gem install methopara --source http://merbi.st

REQUIREMENT:

  Ruby-1.9.1 only.

USAGE:

  >> require "rubygems"
  >> require "methopara"
  >> def foo(a,b=nil,&c) end
  >> method(:foo).parameters
  => [[:req, :a], [:opt, :b], [:block, :c]]
Something went wrong with that request. Please try again.