Module: Card::Set::CodeNest

Defined in:
lib/card/set/code_nest.rb

Overview

ActiveCard support: accessing plus cards as attributes

Instance Method Summary collapse

Instance Method Details

#add_nest(args) ⇒ Object



12
# File 'lib/card/set/code_nest.rb', line 12

def add_nest args; end

#nest(*args) ⇒ Object



6
7
8
9
10
# File 'lib/card/set/code_nest.rb', line 6

def nest *args
  args.each do |arg|
    add_nest arg
  end
end