Code Monkey home page Code Monkey logo

iubendaror's Introduction

iubendaror

Senior Backend / Ruby on Rails Developer (Remote) - iubenda

How to setup and run the application/automated tests? First you have to setup your system in a way that it supports ruby. For run our application, you have to put “code.rb” file in any directory. And then you have to move into the following directory and run command like this “ruby code.rb” For the test cases, I am just passing the template and desired clause or section. If you want to change the example you can call the function with template, clause and section add at the end.

Design Decisions: In this application, there are different methods use for replacement of tags like Clauses and Sections. In main flow of the application, we call “parse_template” method and assign clauses, sections and templates to this method. This method parse clauses and for parsing of sections this method further call another method name “ find_clause_text” which return section text to us. And we replace clause and section text in original template.

How much time you took and what you would have done given more time.? It take 2 hours to complete this application and if I would have more time then I will make it more dynamic and also made its responsive UI for better look.

iubendaror's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.