Class: RSAML::Condition
- Inherits:
-
Object
- Object
- RSAML::Condition
- Defined in:
- lib/rsaml/condition.rb
Overview
Base class for conditions
Instance Method Summary collapse
-
#assert ⇒ Object
Assert that the condition evaluates to true, raise an AssertionError if not.
-
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the condition.
Instance Method Details
#assert ⇒ Object
Assert that the condition evaluates to true, raise an AssertionError if not
5 6 |
# File 'lib/rsaml/condition.rb', line 5 def assert end |
#to_xml(xml = Builder::XmlMarkup.new) ⇒ Object
Construct an XML fragment representing the condition
9 10 11 |
# File 'lib/rsaml/condition.rb', line 9 def to_xml(xml=Builder::XmlMarkup.new) xml.tag!('saml:Condition') end |