Sha256: 1741c0dbccddde8bb174d167ee0f9aafb5e276c3e584b0bba04681de856382b5
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
module Tap module Test module ShellTest # Class methods extending tests which include ShellTest. module ClassMethods # Sets the default sh_test_options attr_writer :sh_test_options # Returns a hash of the default sh_test options. def sh_test_options @sh_test_options ||= { :cmd_pattern => '% ', :cmd => '2>&1 ' } end private # helper to retrieve class constants def class_const(const_name) # :nodoc: const_defined?(const_name) ? const_get(const_name) : nil end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tap-test-0.3.0 | lib/tap/test/shell_test/class_methods.rb |