Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Extended by:
- FatCore::Symbol::ClassMethods
- Includes:
- FatCore::Symbol
- Defined in:
- lib/fat_core/symbol.rb
Instance Method Summary collapse
-
#as_string ⇒ String
(also: #entitle)
included
from FatCore::Symbol
Convert to a title-ized string, that is, convert all '_' to a space, then call String#entitle on the result.
-
#as_sym ⇒ Symbol
included
from FatCore::Symbol
Return self.
-
#tex_quote ⇒ String
included
from FatCore::Symbol
Prepare this symbol for use in a TeX document by converting to String then quoting it.
Instance Method Details
#as_string ⇒ String Also known as: entitle Originally defined in module FatCore::Symbol
Convert to a title-ized string, that is, convert all '_' to a space, then call String#entitle on the result.
#as_sym ⇒ Symbol Originally defined in module FatCore::Symbol
Return self. This (together with String#as_sym) allows #as_sym
to be
applied to a string or Symbol and get back a Symbol with out testing for
type.
#tex_quote ⇒ String Originally defined in module FatCore::Symbol
Prepare this symbol for use in a TeX document by converting to String then quoting it.