Method: Nitro::XSLTransform.initialize
- Defined in:
- lib/nitro/compiler/xslt.rb
.initialize(xsl_filename, next_stage = nil) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/nitro/compiler/xslt.rb', line 24 def initialize(xsl_filename, next_stage = nil) # leave this require here. only inlcude the xslt # library if the project needs it. require "xml/xslt" @name = File.basename(xsl_filename, '.*') @xsl_filename = xsl_filename @xslt = XML::XSLT.new @next_stage = next_stage end |