Class: Maml::Tag

Inherits:
Struct
  • Object
show all
Defined in:
lib/motion-maml/maml.rb

Overview

struct used by #parse

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



3
4
5
# File 'lib/motion-maml/maml.rb', line 3

def class_name
  @class_name
end

#elementObject

Returns the value of attribute element

Returns:

  • (Object)

    the current value of element



3
4
5
# File 'lib/motion-maml/maml.rb', line 3

def element
  @element
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



3
4
5
# File 'lib/motion-maml/maml.rb', line 3

def id
  @id
end