Class: ActiveFacts::API::RoleCollection

Inherits:
Hash
  • Object
show all
Defined in:
lib/activefacts/api/role.rb

Overview

Every ObjectType has a Role collection REVISIT: You can enumerate the object_type’s own roles, or inherited roles as well.

Instance Method Summary collapse

Instance Method Details

#verbaliseObject

:nodoc:



89
90
91
# File 'lib/activefacts/api/role.rb', line 89

def verbalise
  keys.sort_by(&:to_s).inspect
end