rubyで構造体を使いたい Posted Jun 26, 2019 By rengotaku 1 min read require "ostruct" config = OpenStruct.new config.level #=> nil config.level = :debug config.level #=> :debug 手軽に構造体を使いたい時にOpenStruct - Qiita backend ruby This post is licensed under CC BY 4.0 by the author. Share