Class: Markaby::Tagset

Inherits:
Object
  • Object
show all
Defined in:
lib/markaby/tags.rb

Direct Known Subclasses

HTML5, XmlTagset

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.doctypeObject

Returns the value of attribute doctype


34
35
36
# File 'lib/markaby/tags.rb', line 34

def doctype
  @doctype
end

.formsObject

Returns the value of attribute forms


34
35
36
# File 'lib/markaby/tags.rb', line 34

def forms
  @forms
end

.self_closingObject

Returns the value of attribute self_closing


34
35
36
# File 'lib/markaby/tags.rb', line 34

def self_closing
  @self_closing
end

.tagsObject

Returns the value of attribute tags


34
35
36
# File 'lib/markaby/tags.rb', line 34

def tags
  @tags
end

.tagsetObject

Returns the value of attribute tagset


34
35
36
# File 'lib/markaby/tags.rb', line 34

def tagset
  @tagset
end

Class Method Details

.default_optionsObject


36
37
38
39
40
# File 'lib/markaby/tags.rb', line 36

def default_options
  {
    :tagset => self
  }
end