class IRuby::Display::Renderer
Attributes
match[R]
mime[R]
priority[R]
render[R]
Public Class Methods
new(match, mime, render, priority)
click to toggle source
# File lib/iruby/display.rb, line 96 def initialize(match, mime, render, priority) @match, @mime, @render, @priority = match, mime, render, priority end
Public Instance Methods
match?(obj)
click to toggle source
# File lib/iruby/display.rb, line 100 def match?(obj) @match.call(obj) end