class Operator

Operator Class loads in UserOperators on initialize Methods defined in this Class are “Default Operators”

@author [benny]

Public Class Methods

new(target) click to toggle source
# File lib/rack/blogengine/operator.rb, line 8
def initialize(target)
  target = Pathname.new("#{target}").realpath.to_s
  Dir["#{target}/operator/*.rb"].each { |file| require file }

  extend UserOperator # load user operators
end