diff --git a/lib/rubicure/girl.rb b/lib/rubicure/girl.rb index d1c1089..78bf9cb 100644 --- a/lib/rubicure/girl.rb +++ b/lib/rubicure/girl.rb @@ -244,7 +244,7 @@ def colors private def has_transform_style?(style) - return false unless respond_to?(:transform_styles) + return false unless has_key?(:transform_styles) transform_styles.keys.map(&:to_sym).include?(style.to_sym) end