class Respondable

Constants

VERSION

Public Class Methods

new(obj) click to toggle source
# File lib/respondable.rb, line 4
def initialize(obj)
  @obj = obj
end

Public Instance Methods

_?(sym) click to toggle source
# File lib/respondable.rb, line 8
def _?(sym)
  @obj.respond_to?(sym)
end