class BibTeX::Filter

Public Class Methods

inherited(base) click to toggle source

Hook called by Ruby if Filter is subclassed

# File lib/bibtex/filters.rb, line 9
def inherited(base)
  base.class_eval { include Singleton }
  subclasses << base
end
subclasses() click to toggle source

Returns a list of all current Filters

# File lib/bibtex/filters.rb, line 15
def subclasses
  @subclasses ||= []
end

Public Instance Methods

<<(value)
Alias for: apply
apply(value) click to toggle source
# File lib/bibtex/filters.rb, line 20
def apply(value)
  value
end
Also aliased as: convert, <<
convert(value)
Alias for: apply