Class: OCI8::BindType::Rational
- Defined in:
- lib/oci8/bindtype.rb
Constant Summary collapse
- @@rational_is_required =
false
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#get ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/oci8/bindtype.rb', line 41 def get() unless @@rational_is_required require 'rational' @@rational_is_required = true end (val = super()) && val.to_r end |