Class: RubyQC::API::SomeOf
Direct Known Subclasses
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#num ⇒ Object
Returns the value of attribute num.
Instance Method Summary collapse
Methods inherited from Struct
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
21 22 23 |
# File 'lib/rubyqc/api.rb', line 21 def args @args end |
#num ⇒ Object
Returns the value of attribute num
21 22 23 |
# File 'lib/rubyqc/api.rb', line 21 def num @num end |
Instance Method Details
#rubyqc ⇒ Object
22 23 24 |
# File 'lib/rubyqc/api.rb', line 22 def rubyqc args.sample(num).rubyqc end |