| Class | Ribs::RubyRootClass |
| In: |
lib/ribs/definition.rb
|
| Parent: | org.hibernate.mapping.RootClass |
A simple helper class that allows the Java parts of the system to get the Ruby class from the PersistentClass instance.
| ruby_class | [RW] | The Ruby class |
Initialize data for this RootClass
# File lib/ribs/definition.rb, line 95
95: def initialize(*args)
96: super
97: @data = {}
98: end
Sets a specific data element
# File lib/ribs/definition.rb, line 101
101: def []=(key, value)
102: @data[key] = value
103: end
Get the Ruby class. Implementation of the WithRubyClass interface.
# File lib/ribs/definition.rb, line 107
107: def getRubyClass
108: @ruby_class
109: end