Class: RubyQC::API::OneOf
Instance Attribute Summary
Attributes inherited from SomeOf
Instance Method Summary collapse
-
#initialize(args) ⇒ OneOf
constructor
A new instance of OneOf.
- #rubyqc ⇒ Object
Methods inherited from Struct
Constructor Details
#initialize(args) ⇒ OneOf
Returns a new instance of OneOf.
28 29 30 |
# File 'lib/rubyqc/api.rb', line 28 def initialize args super(1, args) end |
Instance Method Details
#rubyqc ⇒ Object
32 33 34 |
# File 'lib/rubyqc/api.rb', line 32 def rubyqc super.first end |