Sha256: eb4328955601be9687c0d40da8771e0dac21169cce5db93ac06eac851875e80d
Contents?: true
Size: 547 Bytes
Versions: 5
Compression:
Stored size: 547 Bytes
Contents
module Spectus # This class evaluate the expectation with the passed block. # # @api private # class Challenge # A Query to the subject. # # @param [#to_sym] method_id the identifier of a method. # @param [Array] args the arguments of the method. def initialize(method_id, *args) @symbol = method_id.to_sym @args = args end # @return [Symbol] the method to call on the subject. attr_reader :symbol # @return [Array] the parameters following the method. attr_reader :args end end
Version data entries
5 entries across 5 versions & 1 rubygems