Class: Deplate::Symbols::Plain

Inherits:
Deplate::Symbols show all
Defined in:
lib/deplate/mod/symbols-plain.rb

Overview

symbols-plain.rb @Author: Thomas Link (micathom AT gmail com) @Website: deplate.sf.net/ @License: GPL (see www.gnu.org/licenses/gpl.txt) @Created: 27-Aug-2004. @Revision: 0.31

Instance Method Summary collapse

Methods inherited from Deplate::Symbols

#doublequote_close, #doublequote_open, #format_symbol, hook_post_myname=, #initialize, #nonbreakingspace, register_as, #singlequote_close, #singlequote_open, #symbol_paragraph

Methods inherited from CommonObject

class_attribute, class_attributes, class_attributes=, class_attributes_ensure, class_meta_attributes, inherited, method_missing, respond_to?

Constructor Details

This class inherits a constructor from Deplate::Symbols

Instance Method Details

#symbol_amp(invoker) ⇒ Object



24
25
26
# File 'lib/deplate/mod/symbols-plain.rb', line 24

def symbol_amp(invoker)
    "&" #"&"
end

#symbol_gt(invoker) ⇒ Object



16
17
18
# File 'lib/deplate/mod/symbols-plain.rb', line 16

def symbol_gt(invoker)
    ">" #">"
end

#symbol_lt(invoker) ⇒ Object



20
21
22
# File 'lib/deplate/mod/symbols-plain.rb', line 20

def symbol_lt(invoker)
    "<" #"<"
end

#symbol_quote(invoker) ⇒ Object



12
13
14
# File 'lib/deplate/mod/symbols-plain.rb', line 12

def symbol_quote(invoker)
    """ #"""
end