Class: Custom::Formatter

Inherits:
Spec::Runner::Formatter::BaseTextFormatter show all
Defined in:
lib/vendor/plugins/rspec/spec/support/spec_classes.rb

Instance Attribute Summary collapse

Attributes inherited from Spec::Runner::Formatter::BaseTextFormatter

#example_group, #output

Instance Method Summary collapse

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(options, where)
  @options = options
  @where = where
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



104
105
106
# File 'lib/vendor/plugins/rspec/spec/support/spec_classes.rb', line 104

def options
  @options
end

#whereObject (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