class IRuby::Display::RespondToFormatMatcher
Attributes
Public Class Methods
Source
# File lib/iruby/display.rb, line 215 def initialize(name) super() {|obj| obj.respond_to?(name) } @name = name end
Calls superclass method
IRuby::Display::FormatMatcher::new
Public Instance Methods
Source
# File lib/iruby/display.rb, line 222 def inspect "#{self.class.name}[respond_to?(%p)]" % name end