Sha256: c34a8b0f8bc40e6b211935cab07b3f89fffa6fb74bdb7958d8cc21abe9a5ba24

Contents?: true

Size: 313 Bytes

Versions: 6

Compression:

Stored size: 313 Bytes

Contents

class Array # :nodoc:
  # From Carl Youngblood's excellent SBN gem: http://sbn.rubyforge.org/
  def symbolize_values
    self.map {|e| e.to_underscore_sym }
  end
  
  # From Carl Youngblood's excellent SBN gem: http://sbn.rubyforge.org/
  def symbolize_values!
    self.map! {|e| e.to_underscore_sym }
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
davidrichards-etl-0.0.10 lib/helpers/array.rb
davidrichards-etl-0.0.4 lib/helpers/array.rb
davidrichards-etl-0.0.5 lib/helpers/array.rb
davidrichards-etl-0.0.6 lib/helpers/array.rb
davidrichards-etl-0.0.7 lib/helpers/array.rb
davidrichards-etl-0.0.9 lib/helpers/array.rb