Class: Sphene::Types::Boolean

Inherits:
Base
  • Object
show all
Defined in:
lib/sphene/types/boolean.rb

Class Method Summary collapse

Methods inherited from Base

cast

Class Method Details

.perform(value) ⇒ Object



6
7
8
# File 'lib/sphene/types/boolean.rb', line 6

def self.perform(value)
  !!value
end