Sha256: c0fbf1f4477e87d42709a89620993acfdd93513c2a91b09d728e217fa1defe70
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 Bytes
Contents
## # NPR::Entity::Title # module NPR module Entity class Title < Base attr_accessor :num, :content def initialize(json) @num = json["num"].to_i @content = json["$text"] end #-------------------- def to_s @content end end # Title end # Entity end # NPR
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
npr-0.1.2 | lib/npr/entity/title.rb |
npr-0.1.1 | lib/npr/entity/title.rb |
npr-0.1.0 | lib/npr/entity/title.rb |