Method: RedClothForTex#initialize
- Defined in:
- lib/redcloth_for_tex.rb
#initialize(string, restrictions = []) ⇒ RedClothForTex
Returns a new instance of RedClothForTex.
189 190 191 192 |
# File 'lib/redcloth_for_tex.rb', line 189 def initialize( string, restrictions = [] ) restrictions.each { |r| method( "#{ r }=" ).call( true ) } super( string ) end |