Class: SuperDiff::RSpec::MatcherTextTemplate::PlainTextInMultilineMode

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



214
215
216
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 214

def to_string_in_multiline_mode
  evaluate.to_s
end

#to_string_in_singleline_modeObject



210
211
212
# File 'lib/super_diff/rspec/matcher_text_template.rb', line 210

def to_string_in_singleline_mode
  ""
end