Module: ActiveOrient
- Defined in:
- lib/base_properties.rb,
lib/base.rb,
lib/init.rb,
lib/jdbc.rb,
lib/railtie.rb,
lib/java-api.rb,
lib/rest/rest.rb,
lib/model/model.rb,
lib/active-orient.rb,
lib/support/errors.rb
Overview
require ‘active_support/hash_with_indifferent_access’
Defined Under Namespace
Modules: BaseProperties, Error, Init Classes: API, Base, Model, OrientDB, Railtie
Class Method Summary collapse
-
.show_classes ⇒ Object
displays all allocated classes.
Class Method Details
.show_classes ⇒ Object
69 70 71 72 73 74 75 76 |
# File 'lib/active-orient.rb', line 69 def self.show_classes '-'* 45+"\n"+ "Database Class -> ActiveOrient ClassName\n"+ '-'* 45+"\n"+ ActiveOrient.database_classes.map{|x,y| "#{"%15s"% x} -> #{y.to_s}" }.join("\n") + "\n"+ '-'* 45 + "\n" end |