lib/onstomp/failover/failover_configurable.rb in onstomp-1.0.2 vs lib/onstomp/failover/failover_configurable.rb in onstomp-1.0.3
- old
+ new
@@ -21,12 +21,12 @@
attr_configurable_single(*args, &trans)
end
# Creates readable and writeable attributes that are automatically
# converted into boolean values. Assigning the attributes any of
- # `true`, +'true'+, +'1'+ or +1+ will set the attribute to `true`, all
+ # `true`, `'true'`, `'1'` or `1` will set the attribute to `true`, all
# other values with be treated as `false`. This method will also alias
- # the reader methods with +attr_name?+
+ # the reader methods with `attr_name?`
def attr_configurable_bool *args, &block
trans = attr_configurable_wrap lambda { |v|
[true, 'true', '1', 1].include?(v) }, block
attr_configurable_single(*args, &trans)
args.each do |a|