diff --git a/src/gphoto2/camera_widgets/base.cr b/src/gphoto2/camera_widgets/base.cr index 16a4a62..4312c46 100644 --- a/src/gphoto2/camera_widgets/base.cr +++ b/src/gphoto2/camera_widgets/base.cr @@ -139,15 +139,6 @@ module GPhoto2 self.to_s == other.to_s.capitalize end - # Compares `#value` with given `Regex`. - # - # ``` - # camera[:whitebalance] == /Automatic/ - # ``` - def ==(other : Regex) - other === self.to_s - end - # Returns `true` if `#value` matches at least one element of the collection. # # ```