Sha256: 8db64c1dde08e8583b8973711da801db83fae219447c15fc5aaea33bd20a0a1a
Contents?: true
Size: 285 Bytes
Versions: 22
Compression:
Stored size: 285 Bytes
Contents
require_relative '../ostruct' module FSR module Model class Tier < OpenStruct def initialize(fields, *data) super(Hash[fields.zip(data)]) end def fields raise NotImplementedError, "This class is now an OpenStruct" end end end end
Version data entries
22 entries across 22 versions & 1 rubygems