Permalink
Browse files

Small fix for default unparse params

  • Loading branch information...
1 parent f436959 commit 1d6bde2e8615448cc3028872f36f04abbc4f22b3 @dazuma committed Oct 14, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/versionomy/format/delimiter.rb
View
1 lib/versionomy/format/delimiter.rb
@@ -105,6 +105,7 @@ def initialize(schema_, default_opts_={}, &block_)
builder_ = Delimiter::Builder.new(@schema, @field_handlers,
@default_parse_params, @default_unparse_params)
::Blockenspiel.invoke(block_, builder_)
+ _interpret_field_lists(@default_unparse_params)
@schema.names.each do |name_|
@field_handlers[name_] ||= Delimiter::FieldHandler.new(@schema.field_named(name_), default_opts_)
end

0 comments on commit 1d6bde2

Please sign in to comment.