Sha256: 8189ceb60b9e628db2f5176a299c8a959acbf8990b1301a31b1f5428ed047f57
Contents?: true
Size: 414 Bytes
Versions: 5
Compression:
Stored size: 414 Bytes
Contents
# -*- coding: utf-8 -*- module Spacy class KeyStroke include Comparable def initialize () @keys = [] end def to_s () @keys.join end def push (key) @keys << key end alias << push def hash () to_s.hash end def eql? (obj) to_s == obj.to_s end def <=> (obj) to_s <=> obj.to_s end end# KeyStroke end # Spacy
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
spacy-0.1.9 | lib/spacy/keystroke.rb |
spacy-0.1.8 | lib/spacy/keystroke.rb |
spacy-0.1.6 | lib/spacy/keystroke.rb |
spacy-0.1.5 | lib/spacy/keystroke.rb |
spacy-0.1.4 | lib/spacy/keystroke.rb |