Libraries
»
sinatra
(4.2.1)
»
Index
»
Sinatra
»
IndifferentHash
»
#compact
Method: Sinatra::IndifferentHash#compact
Defined in:
lib/sinatra/indifferent_hash.rb
#
compact
⇒
Object
181 182 183
# File 'lib/sinatra/indifferent_hash.rb', line 181
def
compact
dup
.
tap
(
&
:compact!
)
end