Method: ConventionalExtensions::Frame.previous

Defined in:
lib/conventional_extensions.rb

.previousObject



27
28
29
# File 'lib/conventional_extensions.rb', line 27

def self.previous
  caller_locations(2, 1).first # Use 2 instead of 1 so we get the frame of who called us.
end