Sha256: 27abdacc61c29a8e58d4325150bc65b668fba5839e8aaf96009a33d399c60660

Contents?: true

Size: 318 Bytes

Versions: 69

Compression:

Stored size: 318 Bytes

Contents

module Cms
  module Extensions 
    module NilClass
      def round_bytes
        to_i.round_bytes
      end
      def markdown
        nil
      end
      def to_slug
        to_s
      end
      def to_formatted_s(format=nil)
        nil
      end
    end
  end
end
NilClass.send(:include, Cms::Extensions::NilClass)

Version data entries

69 entries across 69 versions & 12 rubygems

Version Path
browsercms-artirix-4.0.4 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.3.3 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.3.2 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.3.1 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.3 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.2 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.1.1 lib/cms/extensions/nil.rb
browsercms-artirix-4.0.0.rc1.art4 lib/cms/extensions/nil.rb
browsercms-4.0.0.rc1 lib/cms/extensions/nil.rb
SFEley-browsercms-3.0.2 lib/cms/extensions/nil.rb
buzzware-browsercms-3.0.2 lib/cms/extensions/nil.rb
coredumplings-browsercms-3.0.0 lib/cms/extensions/nil.rb
nate-browsercms-3.0.210 lib/cms/extensions/nil.rb
nate-browsercms-3.0.211 lib/cms/extensions/nil.rb
we5-browsercms-3.0.1.1 lib/cms/extensions/nil.rb
webficient-browsercms-3.0.1 lib/cms/extensions/nil.rb
webficient-browsercms-3.0.2 lib/cms/extensions/nil.rb
webficient-browsercms-3.0.3 lib/cms/extensions/nil.rb
webficient-browsercms-3.0.4 lib/cms/extensions/nil.rb
browsercms-4.0.0.beta lib/cms/extensions/nil.rb