Method: SWS::ComponentCache#last

Defined in:
lib/sws/session.rb

#lastObject

This method returns last component in array - this is used when we need direct access to some common component atributes (i.e. request.headers) TODO: maybe it is unnecessary (i mean: there is better way to do this)



189
190
191
# File 'lib/sws/session.rb', line 189

def last
  return @components.last
end