Class: Bri::Match::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bri/match/base.rb

Direct Known Subclasses

Class, Method

Instance Method Summary collapse

Instance Method Details

#to_sObject



4
5
6
7
# File 'lib/bri/match/base.rb', line 4

def to_s
  ERB.new( self.class.const_get( :TEMPLATE ), nil, '<>' ).
      result( binding )
end