Topic: problem while writing plugin

Hi,
       I am trying to develop a basic acts_as plugin of myown. I have generated myplugin as
     "ruby script/generate plugin acts_as_myplugin" in my vendor/plugins dir.

in init.rb I have the following code:
     require 'acts_as_myplugin'

in vendor/plugins/acts_as_myplugin/lib/acts_as_myplugin.rb, I have the following code:
   
module Myplugin #:nodoc:

  def self.included(mod)
    mod.extend(ClassMethods)
  end

  # declare the class level helper methods which
  # will load the relevant instance methods
  # defined below when invoked
  module ClassMethods
    def acts_as_myplugin
      puts "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      include Securedocument::InstanceMethods
    end
  end

  module SingletonMethods
   
  end

  # Adds instance methods.
  module InstanceMethods
   
  end

end


in my model class user.rb, I have the following code:
  class User < ActiveRecord::Base
    acts_as_myplugin
   
   def self.saveUser
     acts_as_myplugin
   end
  end

In both the cases where I was calling acts_as_myplugin, I was unable to see the output "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" on the console. I could not figure out the problem.
Any help appreciated.....

regards,
venkat.