Sha256: e009f017af8792783926238d2b8d734c10da2fafcae4ed07a3487e1680f1ff16

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

# this is just a class that includes convenience methods for testing
# such as a giving it a name so that is easy to inspect
BaseTestClass = Struct.new(:name) do

  def to_s
    name
  end

  def inspect
    "\"#{self}\""
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_poro-0.0.6 spec/support/base_test_class.rb
active_poro-0.0.5 spec/support/base_test_class.rb