Class: Custom::Formatter

Inherits:
Spec::Runner::Formatter::BaseTextFormatter show all
Defined in:
lib/gems/rspec-1.1.11/spec/spec/spec_classes.rb

Instance Attribute Summary collapse

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

#output, #pending_examples

Attributes inherited from Spec::Runner::Formatter::BaseFormatter

#example_group

Instance Method Summary collapse

Methods inherited from Spec::Runner::Formatter::BaseTextFormatter

#close, #colourise, #dump_failure, #dump_pending, #dump_summary, #example_pending, #format_backtrace

Methods inherited from Spec::Runner::Formatter::BaseFormatter

#add_example_group, #close, #dump_failure, #dump_pending, #dump_summary, #example_failed, #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/gems/rspec-1.1.11/spec/spec/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/gems/rspec-1.1.11/spec/spec/spec_classes.rb', line 104

def options
  @options
end

#whereObject (readonly)

Returns the value of attribute where.



104
105
106
# File 'lib/gems/rspec-1.1.11/spec/spec/spec_classes.rb', line 104

def where
  @where
end