Sha256: e20f53356b6e37c495e4c2ebd0e4dbfa5819aabe8bf67d3b325e5c41f5534fa3
Contents?: true
Size: 458 Bytes
Versions: 15
Compression:
Stored size: 458 Bytes
Contents
require 'rspec-system' require 'ostruct' module RSpecSystem # This class represents raw results from a helper command class Result < OpenStruct # Returns the value of a member, with hash syntax. # # @param name [String, Symbol] name of parameter to retrieve def [](name) @table[name.to_sym] end # Return a hash # # @return [Hash] a hash representation of the results def to_hash @table end end end
Version data entries
15 entries across 15 versions & 1 rubygems