class Introspection::Method
Attributes
Public Class Methods
Source
# File lib/introspection/method.rb, line 12 def initialize(method, visibility = :public) @method, @visibility = method, visibility end
Public Instance Methods
Source
# File lib/introspection/method.rb, line 16 def ==(other) (owner == other.owner) && (name == other.name) && (visibility == other.visibility) end
Source
# File lib/introspection/method.rb, line 20 def eql?(other) (self.class === other) && (self == other) end
Source
# File lib/introspection/method.rb, line 24 def hash [owner, name, visibility].hash end
Source
# File lib/introspection/method.rb, line 32 def inspect "#{owner}##{name} (#{visibility})" end