Receiver Methods.
Receiver Methods
7 8 9
# File 'lib/ccp/commands/receivable.rb', line 7 def receiver (@receiver ||= Ccp::Receivers::Base.new).must(Receivers::Base) end
11 12 13 14
# File 'lib/ccp/commands/receivable.rb', line 11 def receiver=(value) return unless value @receiver = value.must(Ccp::Receivers::Base) end