Class: Jbuilder::Blank

Inherits:
Object
  • Object
show all
Defined in:
lib/jbuilder/blank.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
# File 'lib/jbuilder/blank.rb', line 3

def ==(other)
  super || Blank === other
end

#empty?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/jbuilder/blank.rb', line 7

def empty?
  true
end