This file contains 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
module Hoge1 | |
class Base | |
# 初期処理は1つにまとめる | |
def initialize *args | |
@x = "Hoge1 - Base - initialize - #{args[0]}" | |
end | |
# Common配下のすべてのクラスに共通するメソッド | |
def display | |
puts @x |
This file contains 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
CREATE DATABASE sample CHARACTER SET utf8; | |
GRANT ALL PRIVILEGES ON *.* TO sample@localhost IDENTIFIED BY 'sample' WITH GRANT OPTION; | |
use sample; | |
CREATE TABLE `trn_customer` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`first_name` varchar(255) DEFAULT NULL, | |
`last_name` varchar(255) DEFAULT NULL, | |
`first_name_kana` varchar(255) DEFAULT NULL, | |
`last_name_kana` varchar(255) DEFAULT NULL, |
NewerOlder