Class: HTMLSchema::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/html-schema/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration



5
6
7
8
# File 'lib/html-schema/configuration.rb', line 5

def initialize
  @microdata   = true
  @microformat = true
end

Instance Attribute Details

#microdataObject

Returns the value of attribute microdata



3
4
5
# File 'lib/html-schema/configuration.rb', line 3

def microdata
  @microdata
end

#microformatObject

Returns the value of attribute microformat



3
4
5
# File 'lib/html-schema/configuration.rb', line 3

def microformat
  @microformat
end