Sha256: ab2137c37c4a38d99435a6f4a646ef0cc03d1b35f1a2ebdabc0365f45c920c75
Contents?: true
Size: 1.81 KB
Versions: 32
Compression:
Stored size: 1.81 KB
Contents
#!/usr/bin/env ruby #-- # Copyright (c) 2006 Jeff Barczewski # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #++ # # = MasterView - Rails-optimized (x)html friendly template engine # # MasterView is a ruby/rails optimized HTML/XHTML friendly template engine. # It is designed to use the full power and productivity of rails including # layouts, partials, and rails html helpers while still being editable/styleable # in a WYSIWYG HTML editor. require 'masterview' module ::MasterView #override any constants here, see masterview.rb for more #DefaultDirectiveLoadPaths.push File.join( File.dirname(__FILE__), 'directives') #uncomment if you want to add a local directives dir #DefaultParserOptions = { :tidy => false, :escape_erb => true } #TidyPath = '/usr/lib/libtidy.so' end require 'masterview/extras/rails_init.rb'
Version data entries
32 entries across 31 versions & 4 rubygems