Class: ArgDef
- Inherits:
-
Object
- Object
- ArgDef
- Defined in:
- ext/oci8/apiwrap.rb
Instance Attribute Summary collapse
-
#dcl ⇒ Object
readonly
Returns the value of attribute dcl.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(arg) ⇒ ArgDef
constructor
A new instance of ArgDef.
Constructor Details
#initialize(arg) ⇒ ArgDef
Returns a new instance of ArgDef.
8 9 10 11 12 13 |
# File 'ext/oci8/apiwrap.rb', line 8 def initialize(arg) /(\w+)\s*$/ =~ arg /\(\*(\w+)\)/ =~ arg if $1.nil? @dcl = arg @name = $1 end |
Instance Attribute Details
#dcl ⇒ Object (readonly)
Returns the value of attribute dcl.
5 6 7 |
# File 'ext/oci8/apiwrap.rb', line 5 def dcl @dcl end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'ext/oci8/apiwrap.rb', line 6 def name @name end |