Class: NilClass

Inherits:
Object
  • Object
show all
Defined in:
lib/ckick/nil_class.rb,
lib/ckick/hash_elements.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object

does nothing, but prevents no method errors



8
9
# File 'lib/ckick/nil_class.rb', line 8

def each &block
end

#to_hash_elementObject

converts to hash-serializable value



62
63
64
# File 'lib/ckick/hash_elements.rb', line 62

def to_hash_element
  self
end