Method: Fairy::Controller#pool_variable

Defined in:
lib/fairy/controller.rb

#pool_variable(vname, *value) ⇒ Object



770
771
772
773
774
775
776
# File 'lib/fairy/controller.rb', line 770

def pool_variable(vname, *value)
  if value.empty?
  @pool_dict[vname]
  else
  @pool_dict[vname] = value.first
  end
end