class OnlyofficeRspecResultParser::ResultCreator
rspec ResultCreator
methods
Attributes
final_result[R]
@return [Describe] result describe
Public Instance Methods
push_to_end(describe, level)
click to toggle source
Push result to end @param [String] describe to pusth @param [Integer] level to check @return [Object] result
# File lib/onlyoffice_rspec_result_parser/rspec_result_parser/result_creator.rb, line 13 def push_to_end(describe, level) if level.zero? @final_result = describe elsif level.positive? @final_result.find_last_on_lvl(level - 1).child << describe end end