Module: Cms::Extensions::NilClass

Defined in:
lib/cms/extensions/nil.rb

Instance Method Summary collapse

Instance Method Details

#markdownObject



7
8
9
# File 'lib/cms/extensions/nil.rb', line 7

def markdown
  nil
end

#round_bytesObject



4
5
6
# File 'lib/cms/extensions/nil.rb', line 4

def round_bytes
  to_i.round_bytes
end

#to_formatted_s(format = nil) ⇒ Object



13
14
15
# File 'lib/cms/extensions/nil.rb', line 13

def to_formatted_s(format=nil)
  nil
end

#to_slugObject



10
11
12
# File 'lib/cms/extensions/nil.rb', line 10

def to_slug
  to_s
end