Module: Ecoportal::API::Common::GraphQL::ClassHelpers::ClassMethods
- Includes:
- Content::ClassHelpers
- Included in:
- QueryIntegration
- Defined in:
- lib/ecoportal/api/common/graphql/class_helpers.rb
Instance Method Summary collapse
Instance Method Details
#const?(value) ⇒ Boolean
23 24 25 26 27 28 29 30 |
# File 'lib/ecoportal/api/common/graphql/class_helpers.rb', line 23 def const?(value) begin const_get(value) rescue NameError => e return false end true end |