Class: Motion::Project::IOSConfig
Overview
‘Bacon’ is hard-coded in the string generated by main_cpp_file_txt as the class to run our specs. This updates the method to replace ‘Bacon’ with ‘MotionSpec’.
Instance Method Summary collapse
Instance Method Details
#main_cpp_file_txt(spec_objs) ⇒ Object
90 91 92 |
# File 'lib/motion-spec.rb', line 90 def main_cpp_file_txt(spec_objs) old_main_cpp_file_txt(spec_objs).gsub(/Bacon/, 'MotionSpec') end |
#old_main_cpp_file_txt ⇒ Object
88 |
# File 'lib/motion-spec.rb', line 88 alias_method :old_main_cpp_file_txt, :main_cpp_file_txt |