Skip to content

Commit

Permalink
remove map from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Gensert committed Jan 13, 2014
1 parent 5615783 commit dae690b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/morfo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def self.field field_name, definition={}, &blk
else
raise(
ArgumentError,
"No field to map from is specified for #{field_name.inspect}"
"No field to get value from is specified for #{field_name.inspect}"
) unless definition[:from]
mapping_actions << Morfo::Actions::MapAction.new(definition[:from], field_name)
end
Expand Down

0 comments on commit dae690b

Please sign in to comment.