Parent

Methods

Vpim::Icalendar::Vjournal

Public Class Methods

create(fields=[]) click to toggle source

Create a Vjournal component.

# File lib/vpim/vjournal.rb, line 47
def self.create(fields=[])
  di = DirectoryInfo.create([], 'VJOURNAL')

  Vpim::DirectoryInfo::Field.create_array(fields).each { |f| di.push_unique f }

  new(di.to_a)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.