module MetaOutput::StringOutput
Public Instance Methods
strip_string_attributes(*attrs)
click to toggle source
Calls superclass method
# File lib/meta_output/string_output.rb, line 3 def strip_string_attributes *attrs attrs.each do |attr| define_method(attr) do info = super() info.respond_to?(:strip) ? info.strip : info end end end