Module: Authlete::Types::ConstantUtility
- Included in:
- ApplicationType, ClientAuthMethod, DeliveryMode, GrantType, JWEAlg, JWEEnc, JWSAlg, ResponseType, SubjectType
- Defined in:
- lib/authlete/types/constant-utility.rb
Instance Method Summary collapse
Instance Method Details
#constant_get(constant_name) ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/authlete/types/constant-utility.rb', line 21 def constant_get(constant_name) if constant_name.nil? return nil end begin const_get(constant_name) rescue nil end end |