NickUkraine24 / search_data

Search data from data.json file.

Home Page:https://github.com/NickUkraine24/search_data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search Data

Search data from data.json file.

How to test?

  1. Clone repository:
    $ git clone https://github.com/NickUkraine24/search_data.git
  2. Go to project directory:
    $ cd search_data
  3. Run command:
     $ ruby search.rb search_values

Examples

  1. Input:
    $ ruby search.rb Interpreted "Thomas Eugene"
    Ouput:
    BASIC
  2. Input:
    $ ruby search.rb Lisp Common
    Ouput:
    Common Lisp
  3. Input:
    $ ruby search.rb Scripting Microsoft
    Ouput:
    JScript
    VBScript
    Windows PowerShell
  4. Input:
    $ ruby search.rb
    Ouput:
    Searching values are empty.

About

Search data from data.json file.

https://github.com/NickUkraine24/search_data


Languages

Language:Ruby 100.0%