Class: ActiveAgent::Base::LateAttachmentsProxy

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/active_agent/base.rb

Overview

def attachments

if @_prompt_was_called
  LateAttachmentsProxy.new(@_context.attachments)
else
  @_context.attachments
end

end

Instance Method Summary collapse

Instance Method Details

#[]=(_name, _content) ⇒ Object



296
297
298
# File 'lib/active_agent/base.rb', line 296

def []=(_name, _content)
  _raise_error
end

#inlineObject



292
293
294
# File 'lib/active_agent/base.rb', line 292

def inline
  self
end