2014-07-16から1日間の記事一覧
概要 Module#const_get(name, inherit = true) -> object 詳細 name で指定される名前の定数の値を返却する。 サンプルコード require 'tbpgr_utils' module Hogeable HOGEABLE = :hogeable end class Hoge HOGE = :hoge end class ChildHoge < Hoge include…
概要 Module#const_get(name, inherit = true) -> object 詳細 name で指定される名前の定数の値を返却する。 サンプルコード require 'tbpgr_utils' module Hogeable HOGEABLE = :hogeable end class Hoge HOGE = :hoge end class ChildHoge < Hoge include…