lib/dolly/property.rb in dolly-3.1.2 vs lib/dolly/property.rb in dolly-3.1.3
- old
+ new
@@ -77,10 +77,11 @@
end
private
def truthy_value?(value)
- value =~ /true/ || value === true
+ value === true ||
+ (value.is_a?(String) && value.match?(/true/))
end
def klass_sym
klass_name = self_klass.
name.