class Dallal::Notifications::BaseNotification
Attributes
target[R]
Public Class Methods
new(notification, target)
click to toggle source
# File lib/dallal/notifications/base_notification.rb, line 6 def initialize(notification, target) @notification = notification @target = target end
Public Instance Methods
method_missing(name, *args, &block)
click to toggle source
Calls superclass method
# File lib/dallal/notifications/base_notification.rb, line 11 def method_missing(name, *args, &block) if @notification.respond_to?(name) @notification.send(name, *args, &block) else super end end
respond_to?(method_name, include_private=true)
click to toggle source
Calls superclass method
# File lib/dallal/notifications/base_notification.rb, line 19 def respond_to?(method_name, include_private=true) @notification.respond_to?(method_name) || super end