lib/choice/option.rb
def to_a
      [
        required,
        short,
        long,
        desc,
        default,
        filter,
        action,
        cast,
        valid,
        validate
      ].compact
    end
def to_a
      [
        required,
        short,
        long,
        desc,
        default,
        filter,
        action,
        cast,
        valid,
        validate
      ].compact
    end
def to_a [ required , short , long , desc , default , filter , action , cast , valid , validate ] . compact end
Returns Option converted to an array.
Returns Option converted to an array .