Module: Deplate::Snippet

Included in:
Formatter::DbkSnippet, Formatter::HTML_Snippet, Formatter::LaTeX_Snippet
Defined in:
lib/deplate/formatter-snippet.rb

Overview

formatter-snippet.rb @Author: Thomas Link (micathom AT gmail com) @Website: deplate.sf.net/ @License: GPL (see www.gnu.org/licenses/gpl.txt) @Created: 11-Aug-2005. @Revision: 0.5

Instance Method Summary collapse

Instance Method Details

#formatter_initialize_snippetObject



11
12
13
14
15
16
17
# File 'lib/deplate/formatter-snippet.rb', line 11

def formatter_initialize_snippet
    unless @deplate.options.included
        log(['Not run in included mode'], :error)
        log(['Set included mode'], :error)
        @deplate.options.included = true
    end
end