Class: Custom::Formatter
- Inherits:
-
Spec::Runner::Formatter::BaseTextFormatter
- Object
- Spec::Runner::Formatter::BaseFormatter
- Spec::Runner::Formatter::BaseTextFormatter
- Custom::Formatter
- Defined in:
- lib/vendor/plugins/rspec/spec/support/spec_classes.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#where ⇒ Object
readonly
Returns the value of attribute where.
Attributes inherited from Spec::Runner::Formatter::BaseTextFormatter
Instance Method Summary collapse
-
#initialize(options, where) ⇒ Formatter
constructor
A new instance of Formatter.
Methods inherited from Spec::Runner::Formatter::BaseTextFormatter
#close, #colorize_failure, #colourise, #dump_failure, #dump_pending, #dump_summary, #example_group_started, #example_pending, #format_backtrace
Methods inherited from Spec::Runner::Formatter::BaseFormatter
#add_example_group, #close, #dump_failure, #dump_pending, #dump_summary, #example_failed, #example_group_started, #example_passed, #example_pending, #example_started, #start, #start_dump
Constructor Details
#initialize(options, where) ⇒ Formatter
Returns a new instance of Formatter.
106 107 108 109 |
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 106 def initialize(, where) @options = @where = where end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
104 105 106 |
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 104 def @options end |
#where ⇒ Object (readonly)
Returns the value of attribute where.
104 105 106 |
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 104 def where @where end |