Sha256: 6498a920e27c3c79700815dcef3a3124833498ea7fbd8d14b28eec6a379663a6
Contents?: true
Size: 223 Bytes
Versions: 3
Compression:
Stored size: 223 Bytes
Contents
module Synonymous class Headword def initialize(data) @data = data end def to_s # https://dictionaryapi.com/products/json#sec-2.hwi @data.fetch("hw") end alias to_str to_s end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
synonymous-0.3.0 | lib/synonymous/headword.rb |
synonymous-0.2.0 | lib/synonymous/headword.rb |
synonymous-0.1.0 | lib/synonymous/headword.rb |