lib/koine/attributes/adapter/symbol.rb in koine-attributes-0.2.3 vs lib/koine/attributes/adapter/symbol.rb in koine-attributes-0.3.0
- old
+ new
@@ -1,9 +1,11 @@
module Koine
module Attributes
module Adapter
class Symbol < Base
- def coerce(value)
+ private
+
+ def coerce_not_nil(value)
value.to_sym
end
end
end
end