summaryrefslogtreecommitdiff
path: root/lib/abbrev.rb
Commit message (Collapse)AuthorAgeFilesLines
* lib/abbrev.rb: Specify frozen_string_literal: true.kazu2017-02-091-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: remove executable.hsbt2014-07-111-11/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: [DOC] rdoc format patch by Giorgos Tsiftsis [Bug #9146]zzak2013-12-251-39/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Add words parameter to Abbrev::abbrevzzak2013-02-211-2/+2
| | | | | | | Patch by Devin Weaver [Github documenting-ruby/ruby/#7] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Stop using a regexp that causes a false warning.knu2012-11-301-4/+4
| | | | | | | * lib/abbrev.rb (Abbrev#abbrev): Stop using a regexp that causes a false warning. [Bug #7471] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a line matching problem in Abbrev.abbrev(words, "prefix").knu2012-11-301-1/+1
| | | | | | | | * lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern should only match the beginning of each word, not the beginning of every line in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: fix r37113. Correct examples, fix styleeregon2012-11-161-11/+10
| | | | | | and show explicit dependency (require 'abbrev'). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Documentation examples for Abbrev.zzak2012-10-061-9/+38
| | | | | | | [ruby-dev:47442] [Bug #6985] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Fixed typo in abbrev pattern documentation. Based ondrbrain2012-05-071-4/+9
| | | | | | | patch by Mark Rushakoff. [ruby-trunk - #6346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Clarified that Abbrev.abbrev returns a Hash insteaddrbrain2012-04-101-9/+10
| | | | | | | of an Array. Patch by Andrei Bocan. [ruby-trunk - Bug #6107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/abbrev.rb (Array#abbrev): add missing '"' in documentation.kazu2012-02-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: Convert tabs to spaces for ruby files perdrbrain2011-05-181-11/+11
| | | | | | | | | http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style Patch by Steve Klabnik [Ruby 1.9 - Bug #4730] Patch by Jason Dew [Ruby 1.9 - Feature #4718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: Hide copyright and revision information from RDoc.drbrain2011-05-161-3/+2
| | | | | | | Inspired by patch from David Copeland, bug #4703. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc abbrevdave2004-01-201-0/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: A new library which converts an internalknu2003-10-141-0/+65
iterator to an external iterator. * lib/abbrev.rb: A new library which creates an abbreviation table from a list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e