Class: TestXml::AssertionConfig

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/test_xml/assertions.rb

Instance Method Summary collapse

Instance Method Details

#assert_nameObject



6
7
8
# File 'lib/test_xml/assertions.rb', line 6

def assert_name
  "assert_#{name}"
end

#assert_not_nameObject



10
11
12
# File 'lib/test_xml/assertions.rb', line 10

def assert_not_name
  "assert_not_#{name}"
end

#expectationObject



14
15
16
# File 'lib/test_xml/assertions.rb', line 14

def expectation
  "must_#{matcher}"
end