• Stars
    star
    93
  • Rank 347,385 (Top 8 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 1 year ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

IRB with Typed Completion

Important: Switch to gem repl_type_completor

IRB now supports type based completion with ruby/repl_type_completor.

See IRB's README for more information.

KatakataIrb: IRB with Kata(型 Type) completion

KatakataIrb might provide a better autocompletion based on type analysis to irb.

Installation

gem install katakata_irb

Usage

Just require katakata_irb or write it to your .irbrc file.

# .irbrc
require 'katakata_irb' rescue nil
irb(main):001:0> require 'katakata_irb'
=> true
irb(main):002:0> [1,'a'].sample.a█
                |[1,'a'].sample.abs        |
                |[1,'a'].sample.abs2       |
                |[1,'a'].sample.allbits?   |
                |[1,'a'].sample.angle      |
                |[1,'a'].sample.anybits?   |
                |[1,'a'].sample.arg        |
                |[1,'a'].sample.ascii_only?|
irb(main):001:0> require 'katakata_irb'
=> true
irb(main):002:0> a = 10
=> 10
irb(main):003:1* if true
irb(main):004:2*   b = a.times.map do
irb(main):005:2*     _1.to_s
irb(main):006:1*   end
irb(main):007:1*   b[0].a█
                  |b[0].ascii_only?|

More Repositories

1

air_hockey_quine

Network Battle Air Hockey Quine
Ruby
48
star
2

pokemon-go

Go get pokemons in your local directory. demo: https://twitter.com/tompng/status/753935115097546753
Go
42
star
3

senkouhanabi_gl

線香花火 WebGL Japanese Sparkler
TypeScript
26
star
4

ar_sync

ActiveRecord-JavaScript Sync
JavaScript
25
star
5

nojs_web

webpage without javascript
Ruby
24
star
6

pokemon-ruby

Go get pokemons in your local directory. demo: https://twitter.com/tompng/status/753935115097546753
Ruby
17
star
7

unodos

Infinite number sequence generator
Ruby
12
star
8

aaplayer

[CUI] AsciiArt Video Player for MacOSX
Objective-C
11
star
9

hanabi_quine

線香花火Quine
Ruby
10
star
10

css_alert

HTML
9
star
11

mc_computing

minecraft region file read/writer
Ruby
9
star
12

minecraft-ruby

minecraftをrubyでいじってあそぼ
Ruby
8
star
13

top_n_loader

Ruby
7
star
14

executable_image

executable image(perl script) https://slideshare.net/tomoyaishida1238/executable-image/
Perl 6
7
star
15

ar_serializer

Ruby
5
star
16

programminghtmlcss

Brainfuck → HTML&CSS (Runtime: Webブラウザ+マウス連打する人間)
JavaScript
5
star
17

smart_json

includesしなくてもN+1をちゃんとしてくれるas_jsonぽい奴
Ruby
5
star
18

go-ascii-canvas

go asciiart canvas
Go
5
star
19

gql-sparrow

graphql query builder
TypeScript
4
star
20

toy_typed_repl

Example of adding method chain autocompletion to IRB
Ruby
4
star
21

penguin_queue

Ruby Priority Queue (C extention, binary heap)
C
4
star
22

custom_association

Ruby
3
star
23

svgcanvas

SVGRenderingContext2D https://tompng.github.io/svgcanvas/sample.html
JavaScript
3
star
24

hcmpl_img_gen

executable bmp image for hcmpl
Ruby
3
star
25

no_sltd

Simple way to avoid stack level too deep
Ruby
3
star
26

myfont

自分の筆跡です
JavaScript
3
star
27

christmas_equation

render f(x,y,z)=0 → christmas tree
JavaScript
3
star
28

xy2d

graphing calculator
TypeScript
3
star
29

kifuviewer

kifu viewer https://tompng.github.io/kifuviewer/#ME5uleP7oB
JavaScript
2
star
30

numcore

TypeScript
2
star
31

soundeffect_gen

HTML
2
star
32

audio_measure

JavaScript
2
star
33

hgbutton

JavaScript
2
star
34

reset_column_information_sample

Ruby
2
star
35

mathfont

mathematical formula font
Ruby
2
star
36

shogipatch24

将棋倶楽部24のUIパッチのようなもの
Java
2
star
37

kurage

TypeScript
2
star
38

mymemo

Ruby
1
star
39

ochoko_gen

ochoko & tokkuri generator for 3D printer
Ruby
1
star
40

tompng

self introduction code
Ruby
1
star
41

udp_tunnel

Ruby
1
star
42

n1_safe

RailsでFoo.where(condition).n1_safeと付け加えるだけで簡単にN+1クエリを回避出来る奴
Ruby
1
star
43

nazca_cat

CSS Nazca Cat
CSS
1
star
44

iine_cluster

JavaScript
1
star
45

sxtv_demo_date

Ruby
1
star
46

mcprintserver

Ruby
1
star
47

switch_brc

Shell
1
star
48

buncho

https://tompng.github.io/buncho/
JavaScript
1
star
49

sqprog

Rails練習
TypeScript
1
star
50

poisson_solver

poisson image editing sample
JavaScript
1
star
51

twnotify

Ruby
1
star
52

fractaldraw

フラクタル描くやつ 2013年2月ごろに書いたコードをちょっと手直ししたもの
HTML
1
star
53

word_matcher

Ruby
1
star
54

wavegl

webgl practice demo: https://tompng.github.io/wavegl/index.html
JavaScript
1
star
55

ghtable

table design https://tompng.github.io/ghtable/
JavaScript
1
star
56

threejssample

JavaScript
1
star
57

rubyhogelisp

lisp-like language in ruby
Ruby
1
star
58

camera_conv

video-tag css transform
HTML
1
star
59

dukta_penholder

HTML
1
star
60

screenshot_trim

HTML
1
star
61

summersound

JavaScript
1
star