Class: RrToRspecConverter::TextTransformerOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/rr_to_rspec_converter/text_transformer_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTextTransformerOptions

Returns a new instance of TextTransformerOptions.



6
7
8
9
# File 'lib/rr_to_rspec_converter/text_transformer_options.rb', line 6

def initialize
  @file_path = nil
  @quiet = false
end

Instance Attribute Details

#file_pathObject

Returns the value of attribute file_path.



3
4
5
# File 'lib/rr_to_rspec_converter/text_transformer_options.rb', line 3

def file_path
  @file_path
end

#quiet=(value) ⇒ Object (writeonly)

Sets the attribute quiet

Parameters:

  • value

    the value to set the attribute quiet to.



4
5
6
# File 'lib/rr_to_rspec_converter/text_transformer_options.rb', line 4

def quiet=(value)
  @quiet = value
end

Instance Method Details

#quiet?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/rr_to_rspec_converter/text_transformer_options.rb', line 11

def quiet?
  @quiet
end