Sha256: 833a12d3aaa4736a3a7d943056e18964236c4a6d19813db18ec7e73223ae8047
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 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.to_s end end # Title end # Entity end # NPR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
npr-1.1.0 | lib/npr/entity/title.rb |