Class: SuperDiff::RSpec::MatcherTextTemplate::PlainTextInSinglelineMode

Inherits:
Text
  • Object
show all
Defined in:
lib/super_diff/rspec/matcher_text_template.rb

Instance Method Summary collapse

Methods inherited from Text

#initialize, #to_s

Methods inherited from Base

#length

Constructor Details

This class inherits a constructor from SuperDiff::RSpec::MatcherTextTemplate::Text

Instance Method Details

#to_string_in_multiline_modeObject



204
205
206
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 204

def to_string_in_multiline_mode
  ""
end

#to_string_in_singleline_modeObject



200
201
202
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 200

def to_string_in_singleline_mode
  evaluate.to_s
end