callback (Net::SFTP::Protocol::V_01::Impl)

    # File lib/net/sftp/protocol/01/impl.rb, line 80
        def self.callback( *names )
          names.each do |name|
            class_eval "def on_\#{name}( &block )\n@on_\#{name} = block\nend\n\ndef has_on_\#{name}?\nnot @on_\#{name}.nil?\nend\n\ndef call_on_\#{name}( *args )\nreturn unless @on_\#{name}\n@on_\#{name}.call( *args )\nend\n\npublic :on_\#{name}\nprotected :has_on_\#{name}?, :call_on_\#{name}\n", __FILE__, __LINE__+1
          end
        end