Skip to content

Instantly share code, notes, and snippets.

@MarkMenard
Created February 9, 2009 20:15
Show Gist options
  • Save MarkMenard/60952 to your computer and use it in GitHub Desktop.
Save MarkMenard/60952 to your computer and use it in GitHub Desktop.
class APLMoveDocWrapper < DocWrapperBase
property :description, :string, "./td[1]", :parser => lambda { |x| x.sub('&nbsp;', '') }
property :location, :string, "./td[2]/a"
property :date, :time, "./td[5]", :parser => APL_DATE_PARSER
property :vessel, :string, "./td[3]/a"
property :voyage, :string, "./td[3]/a"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment