Sha256: 9a5cf62ef980c8fec918e35b31eb51dbb9fcd95c909d80e99ebeec1d9fcf7d4c

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

module Rad
  module Processors
    class ControllerLogger < Processor
      def call                
        if (klass = workspace.class) and (method = workspace.method_name)
          logger.info "  Processing #{klass.name}.#{method} with #{workspace.params.inspect}"
        end
        next_processor.call
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 lib/rad/controller/processors/controller_logger.rb