Class: EM::Xmpp::Context::Contexts::Dataforms::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/em-xmpp/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



376
377
378
# File 'lib/em-xmpp/context.rb', line 376

def label
  @label
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



376
377
378
# File 'lib/em-xmpp/context.rb', line 376

def options
  @options
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



376
377
378
# File 'lib/em-xmpp/context.rb', line 376

def type
  @type
end

#valuesObject

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



376
377
378
# File 'lib/em-xmpp/context.rb', line 376

def values
  @values
end

#varObject

Returns the value of attribute var

Returns:

  • (Object)

    the current value of var



376
377
378
# File 'lib/em-xmpp/context.rb', line 376

def var
  @var
end

Instance Method Details

#valueObject



377
378
379
# File 'lib/em-xmpp/context.rb', line 377

def value
  values.first
end