I want to build a package that can optionally typeset line in double-space. Something like this:
\ProvidePackage{mypackage}
% actual functional codes
Then I can use the package in this way:
\usepackage[doublespc=yes]{mypackage}
So that all line will be typeset in double-space. If I omit that optional argument in the preamble, then all line will be typeset in single-space.
