You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dislike having to type too much and transformation form snake_case to PascalCase just doesn't seem too sensible (element :mime_type, String, :tag => 'MimeType'). Would it be possible to just add an attribute that takes a set of params (ie. what case to transform into) or a block/proc to handle the transformation?
Examples:
element :mime_type, String, :tag_format => :pascal
I dislike having to type too much and transformation form snake_case to PascalCase just doesn't seem too sensible (
element :mime_type, String, :tag => 'MimeType'
). Would it be possible to just add an attribute that takes a set of params (ie. what case to transform into) or a block/proc to handle the transformation?Examples:
element :mime_type, String, :tag_format => :pascal
element :mime_type, String, :tag => Proc.new { |name| return "%f %s" % [5, name] }
The text was updated successfully, but these errors were encountered: