Class: Ribs::RubyValuedProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/ribs/definition.rb

Overview

A Hibernate Property that can contain a Ruby value too.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RubyValuedProperty

Creation



125
126
127
# File 'lib/ribs/definition.rb', line 125

def initialize(*args)
  super
end

Instance Attribute Details

#ruby_valueObject

The Ruby class



122
123
124
# File 'lib/ribs/definition.rb', line 122

def ruby_value
  @ruby_value
end

Instance Method Details

#getRubyValueObject

Implement the interface - return the actual Ruby value



130
131
132
# File 'lib/ribs/definition.rb', line 130

def getRubyValue
  @ruby_value
end