# File lib/aws/record/attributes/boolean.rb, line 31 def self.serialize boolean, options = {} case boolean when false then '0' when true then '1' else msg = "expected a boolean value, got #{boolean.class}" raise ArgumentError, msg end end