Sha256: 239094b5b7f400a9fb909402f5e9a4fff80c118b14074becdd6711faa374b5bb
Contents?: true
Size: 396 Bytes
Versions: 32
Compression:
Stored size: 396 Bytes
Contents
module Cuboid module Support module Mixins module Parts def self.included( base ) dir = Utilities.caller_path( 3 ).split( '.rb', 2 ).first Dir.glob( "#{dir}/parts/**/*.rb" ).each { |f| require f } parts = base.const_get( :Parts ) parts.constants.each do |part_name| base.include parts.const_get( part_name ) end end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems