Class: Card::Path

Inherits:
Object show all
Includes:
CastParams
Defined in:
mod/format/lib/card/path.rb,
mod/format/lib/card/path/cast_params.rb

Overview

Generate standard card paths.

Defined Under Namespace

Modules: CastParams

Instance Method Summary collapse

Constructor Details

#initialize(card, opts) ⇒ Path

Returns a new instance of Path.



6
7
8
9
# File 'mod/format/lib/card/path.rb', line 6

def initialize card, opts
  @card = card
  @opts = opts
end

Instance Method Details

#renderObject



11
12
13
# File 'mod/format/lib/card/path.rb', line 11

def render
  new_cardtype || standard
end