Class: Deplate::Symbols::XML

Inherits:
Utf8 show all
Defined in:
lib/deplate/mod/symbols-xml.rb

Instance Method Summary collapse

Methods inherited from Utf8

#doublequote_close, #doublequote_open, #format_symbol, #nonbreakingspace, #singlequote_close, #singlequote_open, #symbol_paragraph

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



26
27
28
# File 'lib/deplate/mod/symbols-xml.rb', line 26

def symbol_amp(invoker)
    "&"
end

#symbol_gt(invoker) ⇒ Object



18
19
20
# File 'lib/deplate/mod/symbols-xml.rb', line 18

def symbol_gt(invoker)
    ">"
end

#symbol_lt(invoker) ⇒ Object



22
23
24
# File 'lib/deplate/mod/symbols-xml.rb', line 22

def symbol_lt(invoker)
    "<"
end

#symbol_quote(invoker) ⇒ Object



14
15
16
# File 'lib/deplate/mod/symbols-xml.rb', line 14

def symbol_quote(invoker)
    """
end