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



277
278
279
# File 'lib/active_agent/base.rb', line 277

def []=(_name, _content)
  _raise_error
end

#inlineObject



273
274
275
# File 'lib/active_agent/base.rb', line 273

def inline
  self
end