Sha256: ceea22a9aa540b75fe55788c1c17d6ea29585d55593f2b33bef59df49e7fe20c
Contents?: true
Size: 208 Bytes
Versions: 7
Compression:
Stored size: 208 Bytes
Contents
module Langusta class Language attr_reader :lang, :prob def initialize(lang, prob) @lang = lang @prob = prob end def to_s lang ? "#{lang}:#{prob}" : "" end end end
Version data entries
7 entries across 7 versions & 1 rubygems