Module Struct::ToHash::Ruby187

  1. lib/win32_service_manager/core_ext/struct_to_hash.rb
Struct ToHash dot/f_4.png

Methods

public instance

  1. to_hash

Public instance methods

to_hash ()
[show source]
# File lib/win32_service_manager/core_ext/struct_to_hash.rb, line 4
      def to_hash
        hashable!
        Hash[each_pair.to_a]
      end