Class: Test::Spec::Disabled
- Defined in:
- lib/test/spec.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name) ⇒ Disabled
constructor
A new instance of Disabled.
- #long_display ⇒ Object
- #short_display ⇒ Object
- #single_character_display ⇒ Object
Constructor Details
#initialize(name) ⇒ Disabled
Returns a new instance of Disabled.
535 536 537 |
# File 'lib/test/spec.rb', line 535 def initialize(name) @name = name end |
Instance Method Details
#long_display ⇒ Object
547 548 549 |
# File 'lib/test/spec.rb', line 547 def long_display @name + " is disabled" end |
#short_display ⇒ Object
543 544 545 |
# File 'lib/test/spec.rb', line 543 def short_display @name end |
#single_character_display ⇒ Object
539 540 541 |
# File 'lib/test/spec.rb', line 539 def single_character_display "D" end |