Sha256: b4dddc756b2cad93d867a5368a3cf07dd3c432eef7a138500c7f56434a631877

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

module Vobject
  class ParameterValue
    def initialize(val)
      self.value = val
    end
    # raise_invalid_initialization if key != name
  end

  def to_s
    value
  end

  private

  def name
    prop_name
  end

  def default_value_type
    "text"
  end

  def raise_invalid_initialization
    raise "vObject property initialization failed"
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
vobject-1.1.0 lib/vobject/parametervalue.rb
ruby-vobject-1.0.99 lib/vobject/parametervalue.rb
vobject-1.0.2 lib/vobject/parametervalue.rb
ruby-vobject-1.0.1 lib/vobject/parametervalue.rb
ruby-vobject-1.0.0-x86_64-darwin-18 lib/vobject/parametervalue.rb
ruby-vobject-0.2.0-x86_64-darwin-16 lib/vobject/parametervalue.rb