Module: DataMapper::Ext::Object

Defined in:
lib/dm-is-remixable/is/remixable.rb

Class Method Summary collapse

Class Method Details

.full_const_defined?(obj, name = nil) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/dm-is-remixable/is/remixable.rb', line 4

def self.full_const_defined?(obj, name = nil)
  !!self.full_const_get(obj, name) rescue false
end