Created
June 9, 2012 07:40
-
-
Save kazuhisa/2900006 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DS | |
def get_mouse_info(id) | |
"Dual Optical" | |
end | |
def get_mouse_price(id) | |
40 | |
end | |
def get_keyboard_info(id) | |
"Happy Hacking Keybord" | |
end | |
def get_keyboard_price(id) | |
100 | |
end | |
def get_cpu_info(id) | |
"2.16 Ghz" | |
end | |
def get_cpu_price(id) | |
150 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment