module VV::NilMethods

Public Class Methods

included(base) click to toggle source
# File lib/vv/nil_methods.rb, line 4
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

to_boolean() click to toggle source
# File lib/vv/nil_methods.rb, line 20
def to_boolean
  false
end
vv_json() click to toggle source
# File lib/vv/nil_methods.rb, line 16
def vv_json
  self.to_json
end