# File TagTreeScanner.rb, line 270 def initialize( tag_name, options={} ) @tag_name = tag_name [ :open_match, :close_match, :open_requires_bol, :close_requires_bol, :allowed_genre, :autoclose, :allows_text, :setup, :attributes ].each{ |k| self.instance_variable_set( "@#{k}".intern, options[ k ] ) } end