Class: Osmer::Dsl
- Inherits:
-
Struct
- Object
- Struct
- Osmer::Dsl
- Defined in:
- lib/osmer.rb
Instance Attribute Summary collapse
-
#osmer ⇒ Object
Returns the value of attribute osmer.
Instance Method Summary collapse
Instance Attribute Details
#osmer ⇒ Object
Returns the value of attribute osmer
78 79 80 |
# File 'lib/osmer.rb', line 78 def osmer @osmer end |
Instance Method Details
#prefix(value) ⇒ Object
86 87 88 |
# File 'lib/osmer.rb', line 86 def prefix(value) osmer.prefix = value end |
#schema(name, options, &block) ⇒ Object
80 81 82 83 84 |
# File 'lib/osmer.rb', line 80 def schema(name, , &block) schema = osmer.add_schema name, schema.configure &block if block schema end |