Class: Arrest::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/arrest/attributes/has_attributes.rb

Constant Summary collapse

@@NULL =
Null.new()

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.singletonObject



9
10
11
# File 'lib/arrest/attributes/has_attributes.rb', line 9

def self.singleton
  @@NULL
end

Instance Method Details

#to_json(*a) ⇒ Object



13
14
15
# File 'lib/arrest/attributes/has_attributes.rb', line 13

def to_json(*a)
  'null'
end