Class: HTMLSchema::Configuration
- Inherits:
-
Object
- Object
- HTMLSchema::Configuration
- Defined in:
- lib/html-schema/configuration.rb
Instance Attribute Summary collapse
-
#microdata ⇒ Object
Returns the value of attribute microdata.
-
#microformat ⇒ Object
Returns the value of attribute microformat.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#microdata ⇒ Object
Returns the value of attribute microdata.
3 4 5 |
# File 'lib/html-schema/configuration.rb', line 3 def microdata @microdata end |
#microformat ⇒ Object
Returns the value of attribute microformat.
3 4 5 |
# File 'lib/html-schema/configuration.rb', line 3 def microformat @microformat end |