Class: OpenComponents::Template

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencomponents.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



13
14
15
# File 'lib/opencomponents.rb', line 13

def key
  @key
end

#srcObject

Returns the value of attribute src

Returns:

  • (Object)

    the current value of src



13
14
15
# File 'lib/opencomponents.rb', line 13

def src
  @src
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



13
14
15
# File 'lib/opencomponents.rb', line 13

def type
  @type
end