Class: Gamefic::Proxy::PlotPick

Inherits:
Base
  • Object
show all
Defined in:
lib/gamefic/proxy/plot_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/plot_pick.rb', line 6

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