blob: 46752b7ef0dba541b150091c737c39c5456a2178 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# Mathy
I wrote mathy during my daughters saturday morning dance class. It
started off as a conversation something like this...
```text
Dad: Isn't your class supposed to start by now?
Daughter: Miss Brittney's not here yet.
Dad: Your teacher's late again? Ugh... <grumble, grumble, grumble> Well what do you want to do?
Daughter: Ummm.... can I have some gum?
Dad: No!
Daughter: Please?
Dad: No.
Daughter: Can we do kids ruby?
Dad: That's a good idea. Let me grab my laptop....
Dad: Oh right. I re-installed the OS. I need to re-download kids ruby.
Daughter: Huh?
Dad: Umm... let's do some math.
Daughter: ok.
Dad: I have an idea, let's build a math game.
Daughter: Ummm... ok.
Dad: What should it do when it starts?
Daughter: Huh?
Dad: How about it asks you for your name?
Daughter: Ok...
...hack on some code, hack on some code
Daughter: Miss Brittney's here. Bye!
...hack on some code, hack on some code
...hack on some code, hack on some code
...hack on some code, hack on some code
```
Then this turned into the thing we would play with before dance class.
Then during class while I sat out in the hall, I kept hacking on this
mathy thing. Yup... not tests... pure hacking!
## Installation
Add this line to your application's Gemfile:
gem 'mathy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mathy
## Usage
$ mathy
## Contributing
1. Fork it ( https://github.com/mokhan/mathy/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
|