Class: Protocol::Caldav::Ical::Property

Inherits:
Struct
  • Object
show all
Defined in:
lib/protocol/caldav/ical/property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/protocol/caldav/ical/property.rb', line 9

def name
  @name
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



9
10
11
# File 'lib/protocol/caldav/ical/property.rb', line 9

def params
  @params
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/protocol/caldav/ical/property.rb', line 9

def value
  @value
end

Instance Method Details

#param(key) ⇒ Object



10
11
12
# File 'lib/protocol/caldav/ical/property.rb', line 10

def param(key)
  params[key.upcase]
end