Sha256: 9b99821d18041149676e9f27b4eb95f25d10c8a9408b1bcccebb341544e930ab
Contents?: true
Size: 434 Bytes
Versions: 1
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true require "set" module Rekkyo module Type class << self def included(klass) super klass.const_set(:Member, Class.new(Member)) klass.instance_variable_set(:@members, Set.new) klass.extend(DSLMethods) klass.extend(EnumMethods) end end end end require "rekkyo/type/member" require "rekkyo/type/dsl_methods" require "rekkyo/type/enum_methods"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rekkyo-1.1.0 | lib/rekkyo/type.rb |