Class: Test::Spec::Empty

Inherits:
Failure show all
Defined in:
lib/test/spec.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Failure

#single_character_display

Instance Method Summary collapse

Methods inherited from Failure

#long_display, #short_display

Constructor Details

#initialize(name) ⇒ Empty

Returns a new instance of Empty.



608
609
610
# File 'lib/test/spec.rb', line 608

def initialize(name)
  super(:name => name, :single_character_display => "", :long_display => "Empty: %s")
end