Sha256: c0e445d1793f20db0edb3e80ea9117511e8408eb92113fd2e48599d15248ee29

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

module BookmarkHelpers
  def within_bookmarks_document(content)
    %{
      <!DOCTYPE NETSCAPE-Bookmark-file-1>
      <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
      <TITLE>Bookmarks</TITLE>
      <H1>Bookmarks</H1>
      #{content}
    }
  end
  
  def build_list_of_objects(properties_list)
    properties_list.collect{|properties| OpenStruct.new(properties)}
  end
end  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
evernicious-0.9.0.1 spec/support/helpers.rb
evernicious-0.9.0 spec/support/helpers.rb