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
# language: ja | |
フィーチャ: ログイン状態を維持する | |
ユーザとして、 | |
ログイン状態を維持したい。 | |
なぜなら、頻繁にログイン作業をする負担を軽減したいからだ。 | |
シナリオ: ユーザを覚えているのでしばらくの間再ログインしなくても良い | |
前提 登録済みのユーザが | |
もし ログインページでログイン情報を入力する |
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
# coding: utf-8 | |
前提 /^登録済みのユーザが$/ do | |
@user = User.create(name: "Example User", email: "user@example.com", password: "foobar", password_confirmation: "foobar") | |
end | |
もし /^ログインページでログイン情報を入力する$/ do | |
visit signin_path | |
fill_in "Email", with: @user.email | |
fill_in "Password", with: @user.password |
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
Simulaを知れば良いのかマービン・ミンスキー | |
→フレーム理論(知識の表象) | |
→?→LOGO | |
→アラン・ケイ | |
→OO ? | |
http://jibun.atmarkit.co.jp/ljibun01/rensai/gyoukai/042/01.html | |
で、ケイはシミュレートシミュレート言ってるので、 |
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
import java.io.*; | |
import java.net.*; | |
public class Test { | |
public static void main(String [] args) { | |
try { | |
String content="{\"issue\": {\"project_id\": 1, \"subject\": \"Example\"}}"; | |
log(content); |
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
# Product 1 | |
class Frog | |
def initialize(name) | |
@name = name | |
end | |
def eat | |
puts "カエル #{@name} は食事中です" | |
end | |
end |