module FatCore::NilClass

Public Instance Methods

as_string() click to toggle source

Allow nils to respond to as_string like String and Symbol

@return [String] empty string

# File lib/fat_core/nil.rb, line 8
def as_string
  ''
end
Also aliased as: entitle
commas(_places = nil) click to toggle source

Allow nils to respond to commas like String and Numeric

@return [String] empty string

# File lib/fat_core/nil.rb, line 23
def commas(_places = nil)
  ''
end
entitle()
Alias for: as_string
tex_quote() click to toggle source

Allow nils to respond to tex_quote for use in TeX documents

@return [String] empty string

# File lib/fat_core/nil.rb, line 16
def tex_quote
  ''
end