Sha256: 15f425c20eacaaf03d0f20485bf1604a1bc4e6caa686cf5ad636601b47c0db9f

Contents?: true

Size: 360 Bytes

Versions: 8

Compression:

Stored size: 360 Bytes

Contents

module Winevt
  class EventLog
    class Subscribe
      alias_method :subscribe_raw, :subscribe

      def subscribe(path, query, bookmark = nil)
        if bookmark.is_a?(Winevt::EventLog::Bookmark)
          subscribe_raw(path, query, bookmark.render)
        else
          subscribe_raw(path, query)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
winevt_c-0.8.1 lib/winevt/subscribe.rb
winevt_c-0.8.0 lib/winevt/subscribe.rb
winevt_c-0.7.4 lib/winevt/subscribe.rb
winevt_c-0.7.3 lib/winevt/subscribe.rb
winevt_c-0.7.2 lib/winevt/subscribe.rb
winevt_c-0.7.1 lib/winevt/subscribe.rb
winevt_c-0.7.0 lib/winevt/subscribe.rb
winevt_c-0.6.1 lib/winevt/subscribe.rb