# frozen_string_literal: true
require "pakyow/presenter/attributes/string"
module Pakyow
module Presenter
class Attributes
# Boolean is an odd attribute, since we ultimately want it to behave in this way:
#
# view.attrs[:checked] = true
# =>
#
# view.attrs[:checked] = false
# =>
#
# To support this, +Attributes+ manages setting / removing the value on the
# underlying object; all we do is behave like a String.
#
class Boolean < String
end
end
end
end