gemインストール docker-compose run --rm web bundle install run コンテナの開始 --rm コンテナ実行後に削除。デタッチド・モードの場合は無視 web サービスです。 docker-compose.ymlで指定したservicesです。 今回はweb…
class Hoge def id 1 end end ま、謎ですが、上記のようなclassがあった時に h = Hoge.new h.foo みたいなのやりたいじゃないですか?(ぇ define_singleton_method h = Hoge.new h.define_singleton_me…
Rspecについてはこちらにまとめようと思います。 (ちょいちょい追記予定) describe test対象 describe 'Foo' do end context testの条件 describe 'Foo' do context 'Bar' do end end it test内容 exam…