HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 16:36:19 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20180610233348
location: https://web.archive.org/web/20180610233348/https://github.com/ujihisa/epitaph
server-timing: captures_list;dur=3.520036, exclusion.robots;dur=0.036277, exclusion.robots.policy;dur=0.017751, esindex;dur=0.022592, cdx.remote;dur=56.698928, LoadShardBlock;dur=464.636082, PetaboxLoader3.datanode;dur=185.555730, PetaboxLoader3.resolve;dur=160.242895
x-app-server: wwwb-app222
x-ts: 302
x-tr: 581
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app222; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 16:36:20 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: GitHub.com
x-archive-orig-date: Sun, 10 Jun 2018 23:35:28 GMT
x-archive-orig-transfer-encoding: chunked
x-archive-orig-status: 200 OK
x-archive-orig-cache-control: no-cache
x-archive-orig-vary: X-PJAX
x-archive-orig-set-cookie: logged_in=no; domain=.github.com; path=/; expires=Thu, 10 Jun 2038 23:35:28 -0000; secure; HttpOnly
x-archive-orig-set-cookie: _gh_sess=L0dPTTJsVmZLbzVEYTkyRUVESWx1SkE0TFhSZUxEZTUvVnE0RldvaTh1Vy9HSHVPeGlVL1U1MnFBeWxPQUM5VTZsUlpHMytxVlNEM0lkbS9uNkU1M0ptUWpLRE5kMEVlNmNlVWhOZG9leHMzMzlhSG5uWEtxWDlSbmlhMVlRRzRDUGNubTdzdXRjMVVFcmw4OEwwcnpjdzBFZXp4aVlvZnpIWDZoRFZ4OC9oRUM5VVducWZJWUNzNnFMWG5HNlVIazlPZHFiazJ3ZHk2TGdac2NOOFlDaWJ2K1NMaXFjeFk4WWtyRjhOZVdzR2M4UGd3b0ZUMVRCMFdiK3UzTTFnMmpOTVpXYXdzSE5iazdnVk8vZEtOSGV5R01vcDhKRkltNXlYUWo3SlZFN0tXYnAreW8vbXNXZ0FDY3JHVkdCQzhmdTdtSGdHRXo3Ym4zNVA0NTBuVGVlUlBIelUxVjlUUWx1UWRsYTE5S3JiQ1RKT3BGN3pPQ050dEFEK29YYzA1UjFPSlN4b3ZFcFp6aENWQ2RyMlVMYkxJUkZnejFVMWpJN2pFaXlaZHZ4OD0tLXRrbE5zbkNkQTRKK0czOEFpS1A4QUE9PQ%3D%3D--ad9979dc653813431491bb9aba5ed156c09e9bb3; path=/; secure; HttpOnly
x-archive-orig-x-request-id: e8e40724-ca33-4f42-9308-756245a022af
x-archive-orig-x-runtime: 0.196204
x-archive-orig-strict-transport-security: max-age=31536000; includeSubdomains; preload
x-archive-orig-x-frame-options: deny
x-archive-orig-x-content-type-options: nosniff
x-archive-orig-x-xss-protection: 1; mode=block
x-archive-orig-expect-ct: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
x-archive-orig-content-security-policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com status.github.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src assets-cdn.github.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: assets-cdn.github.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src assets-cdn.github.com; style-src 'unsafe-inline' assets-cdn.github.com
x-archive-orig-x-runtime-rack: 0.203232
x-archive-orig-x-github-request-id: EDA8:69BA:4EB38AE:90FE552:5B1DB5BF
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 10 Jun 2018 23:33:48 GMT
link:
; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 10 Jun 2018 23:33:48 GMT", ; rel="memento"; datetime="Sun, 10 Jun 2018 23:33:48 GMT", ; rel="next memento"; datetime="Sat, 12 Sep 2020 00:02:53 GMT", ; rel="last memento"; datetime="Sat, 12 Sep 2020 00:02:53 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: archiveteam_github_20180703020419/archiveteam_github_20180703020419.megawarc.warc.gz
server-timing: captures_list;dur=0.672549, exclusion.robots;dur=0.024764, exclusion.robots.policy;dur=0.011435, esindex;dur=0.013763, cdx.remote;dur=43.830128, LoadShardBlock;dur=418.160813, PetaboxLoader3.datanode;dur=107.765025, PetaboxLoader3.resolve;dur=473.778181, load_resource;dur=192.193726
x-app-server: wwwb-app222
x-ts: 200
x-tr: 731
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
GitHub - ujihisa/epitaph
Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Sign up
Ruby
Vim script
Clone or download

Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
README.md
Epitaph
require 'lib/epitaph'
p Epitaph(<<-EOC, 'A.new.f(10)')
require 'rubygems'
require 'active_support'
class A
def f(x)
x.days.ago
EOC
# => 2010-02-01 15:32:47 -0800
Requirement
- Ripper (Built-in library in Ruby 1.9)
Author
Tatsuhiro Ujihisa
https://ujihisa.blogspot.com/
Epitaph.vim
This Vim script is experimental.
See the detail here:
https://ujihisa.blogspot.com/2010/02/what-i-made.html
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.