Sha256: cc4a844f4356da917ae0ff646c34ca17f6d10ed0ec05eabcbf1ae1b0965e3d5e
Contents?: true
Size: 332 Bytes
Versions: 6
Compression:
Stored size: 332 Bytes
Contents
class Operator def initialize(target) Dir.foreach("#{target}/operator/") do |item| extension = item.split(".")[1] next if item == '.' or item == '..' or extension != "rb" require "#{target}/operator/#{item}" end extend UserOperator # load user operators end # define default operators here end
Version data entries
6 entries across 6 versions & 1 rubygems