Sha256: bebe992138558ea327fd414a3c6b457f039b48313b8b620aa9de206232468234
Contents?: true
Size: 381 Bytes
Versions: 1
Compression:
Stored size: 381 Bytes
Contents
# # Operator Class loads in UserOperators on initialize # Methods defined in this Class are "Default Operators" # # @author [benny] # class Operator def initialize(target) target = Pathname.new("#{target}").realpath.to_s Dir["#{target}/operator/*.rb"].each {|file| require file } extend UserOperator # load user operators end # define default operators here end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-blogengine-0.2.4 | lib/rack/blogengine/operator.rb |