Sha256: b70af5a203119ef9a40ff5027b99d3a43d602457eabd5b7b4494836a289f49d2
Contents?: true
Size: 223 Bytes
Versions: 8
Compression:
Stored size: 223 Bytes
Contents
module Pokemon class AncientTrait attr_accessor :name, :text def self.from_json(json) trait = AncientTrait.new trait.name = json['name'] trait.text = json['text'] trait end end end
Version data entries
8 entries across 8 versions & 1 rubygems