Class: PinkShirt::SAX::Script

Inherits:
Base
  • Object
show all
Defined in:
lib/pink_shirt/sax/script.rb

Overview

One does not textilize the contents of script tags, it is not done.

Constant Summary collapse

TAGS =
%(script)

Instance Method Summary collapse

Methods inherited from Base

#add_attributes, #initialize, #method_missing, #to_s

Constructor Details

This class inherits a constructor from PinkShirt::SAX::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PinkShirt::SAX::Base

Instance Method Details

#end_scriptObject


10
11
12
# File 'lib/pink_shirt/sax/script.rb', line 10

def end_script
  @output.unlock
end

#start_script(attrs) ⇒ Object


6
7
8
# File 'lib/pink_shirt/sax/script.rb', line 6

def start_script(attrs)
  @output.lock('script')
end