Feature Requests: Browse | Submit New | Admin

[#5400] user defined casting with a block

Date:
2006-08-12 22:59
Priority:
3
Submitted By:
Chris Wanstrath (defunkt)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
user defined casting with a block

Detailed description
  option :flag1
    # ...
    cast Integer
  end
  option :flag2
    # ...
    cast do |value|
      Time.parse value
    end
  end

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item