Skip to content

AndyDeany/todos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todos project

Object oriented Ruby project. Created using test driven development (TDD).

Specification

Todo.new("Remember the milk", Date.today)
Todo.all #=> [<#Todo>, <#Todo>]
Todo.last #=> The latest Todo
Todo.find contains: "milk"
Todo.find exactly: "Remember the milk"

todo = Todo.new("Buy a newspaper") # Default date should be today
todo.title
todo.due_date
todo.title = "Some new title"
todo.due_date = Date.parse("2016-02-19") # Should only accept date objects

Todo.sync # Should Synchronise with online Todos Service. This is HARD!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages