Sha256: 10f29f63230b509221ed0ab4242817849dfbc0f476492d90d08d27617af0f5e3
Contents?: true
Size: 348 Bytes
Versions: 5
Compression:
Stored size: 348 Bytes
Contents
## # NPR::Entity::IntroText # module NPR module Entity class IntroText < 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 # IntroText end # Entity end # NPR
Version data entries
5 entries across 5 versions & 1 rubygems