Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saroar/hockey

For better developer test 1st :) coding style and Better OOP
https://github.com/saroar/hockey

clean-code ruby tdd

Last synced: 25 days ago
JSON representation

For better developer test 1st :) coding style and Better OOP

Awesome Lists containing this project

README

        

# Ruby OOP style

# How to run code:
team1 = Team.new('Team1', 2)
team2 = Team.new('Team2', 3)

h = Hockey.new(team1, team2, :html)

p h.print_format
p h.print_format

# How to run test:
bundle exec rspec spec