Flowdock
on_windows?() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/pstore.rb, line 419
  def on_windows?
    is_windows = RUBY_PLATFORM =~ /mswin/  ||
                 RUBY_PLATFORM =~ /mingw/  ||
                 RUBY_PLATFORM =~ /bccwin/ ||
                 RUBY_PLATFORM =~ /wince/
    self.class.__send__(:define_method, :on_windows?) do
      is_windows
    end
    is_windows
  end
Register or log in to add new notes.