(aaa)[https://www.dropbox.com/s/hbevfmlalpfbpl6/64ba21a2.gif]
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) |
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
require './data_source' | |
require './boring' | |
computer = Computer.new(1,DS.new) | |
puts computer.mouse | |
puts computer.keyboard | |
puts computer.cpu |
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
$("input.input_search").live("focus",function(){ | |
$(this).attr({"MaxLength":2000}); | |
}); |
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
+--------------------------------------------------+ | |
|Name | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | | |
+--------------------------------------------------+ | |
|Yui |x |9 /|2 3|2 3|2 3|2 3|2 3|2 4|2 4|2 / X| | |
+--------------------------------------------------+ | |
|Mio |x |9 /|2 3|2 3|2 3|2 3|2 3|2 4|2 4|2 / X| | |
+--------------------------------------------------+ | |
|Ritsu |x |9 /|2 3|2 3|2 3|2 3|2 3|2 4|2 4|2 / X| | |
+--------------------------------------------------+ | |
|Azusa |x |9 /|2 3|2 3|2 3|2 3|2 3|2 4|2 4|2 / X| |
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
# add | |
gem "arproxy" | |
gem "fluent-logger" |
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
・好きな言語は? | |
・好きなメソッドは? | |
・好きなアニメは? | |
・好きなガンダムシリーズは? | |
・githubアカウントは? | |
・英語しゃべれる? | |
・最近気になるテクノロジーは? | |
・最近行った勉強会は? | |
・最近登壇した勉強会は? | |
・iPhone落とした事ある? |
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 Rental | |
attr_reader :movie, :days_rented | |
def initialize(movie, days_rented) | |
@movie, @days_rented = movie, days_rented | |
end | |
def charge | |
result = 0 | |
case movie.price_code |
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
# -*- coding: utf-8 -*- | |
module ActiveRecord | |
class Relation | |
def initialize(klass, table, values = {}) | |
@klass = klass | |
@table = table | |
@values = values | |
@loaded = false | |
end |
OlderNewer