Class: TestXml::AssertionConfig

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

Instance Method Summary collapse

Instance Method Details

#assert_nameObject



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

def assert_name
  "assert_#{name}"
end

#assert_not_nameObject



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

def assert_not_name
  "assert_not_#{name}"
end

#expectationObject



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

def expectation
  "must_#{matcher}"
end