Sha256: 6ca1bebd896bc7c42b6f0e14557ad12868e332cd1bac6ecf30206b022dd2b633

Contents?: true

Size: 167 Bytes

Versions: 10

Compression:

Stored size: 167 Bytes

Contents

# Monkey patch for the String class
class String
  # Converts a String to a Kennitala object
  #
  # @return [Kennitala]
  def to_kt
    Kennitala.new(self)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iceland-0.1.13 lib/iceland/kennitala_string.rb
iceland-0.1.12 lib/iceland/kennitala_string.rb
iceland-0.1.11 lib/iceland/kennitala_string.rb
iceland-0.1.10 lib/iceland/kennitala_string.rb
iceland-0.1.9 lib/iceland/kennitala_string.rb
iceland-0.1.8 lib/iceland/kennitala_string.rb
iceland-0.1.7 lib/iceland/kennitala_string.rb
iceland-0.1.6 lib/iceland/kennitala_string.rb
iceland-0.1.5 lib/iceland/kennitala_string.rb
iceland-0.1.4 lib/iceland/kennitala_string.rb