Module: FatCore::NilClass

Included in:
NilClass
Defined in:
lib/fat_core/nil.rb

Instance Method Summary collapse

Instance Method Details

#commas(_places = nil) ⇒ String

Allow nils to respond to #commas like String and Numeric

Returns:



22
23
24
# File 'lib/fat_core/nil.rb', line 22

def commas(_places = nil)
  ''
end

#entitleString

Allow nils to respond to #entitle like String and Symbol

Returns:



8
9
10
# File 'lib/fat_core/nil.rb', line 8

def entitle
  ''
end

#tex_quoteString

Allow nils to respond to #tex_quote for use in TeX documents

Returns:



15
16
17
# File 'lib/fat_core/nil.rb', line 15

def tex_quote
  ''
end