lib/eol.rb
# Intended to (safely) log the name of the method being invoked.
Intended to (safely) log the name of the method being invoked.
Intended to ( safely ) log the name of the method being invoked .
def log_call
      begin
        (file, method) = caller.first.split
        EOL.log(
          "#{file.split('/').last.split(':')[0..1].join(':')}#"\
          "#{method[1..-2]}", prefix: '#'
        )
      rescue
        EOL.log("Starting method #{caller.first}")
      end
    end
def log_call begin ( file , method ) = caller . first . split EOL . log ( "#{file.split('/').last.split(':')[0..1].join(':')}#" "#{method[1..-2]}" , prefix : '#' ) rescue EOL . log ( "Starting method #{caller.first}" ) end end
Intended to (safely) log the name of the method being invoked.
Intended to ( safely ) log the name of the method being invoked .