Class: FalseClass

Inherits:
Object show all
Defined in:
lib/active_support/core_ext/blank.rb,
lib/active_support/core_ext/duplicable.rb,
lib/active_support/json/encoders/false_class.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)

29
30
31
# File 'lib/active_support/core_ext/blank.rb', line 29

def blank?
  true
end

#duplicable?Boolean

Returns:

  • (Boolean)

16
17
18
# File 'lib/active_support/core_ext/duplicable.rb', line 16

def duplicable?
  false
end

#to_json(options = nil) ⇒ Object

:nodoc:


2
3
4
# File 'lib/active_support/json/encoders/false_class.rb', line 2

def to_json(options = nil) #:nodoc:
  'false'
end