Class: Gamefic::Proxy::Pick

Inherits:
Base
  • Object
show all
Defined in:
lib/gamefic/proxy/pick.rb

Instance Attribute Summary

Attributes inherited from Base

#args

Instance Method Summary collapse

Methods inherited from Base

#fetch, #initialize, #raise?

Constructor Details

This class inherits a constructor from Gamefic::Proxy::Base

Instance Method Details

#select(narrative) ⇒ Object



6
7
8
# File 'lib/gamefic/proxy/pick.rb', line 6

def select narrative
  raise? ? narrative.pick!(*args) : narrative.pick(*args)
end