Class: IOSGen::Generator::Objc::XctestcaseFormatter
- Inherits:
-
Object
- Object
- IOSGen::Generator::Objc::XctestcaseFormatter
- Defined in:
- lib/ios_gen/generator/objc/xctestcase_formatter.rb
Overview
Objetive-C XCTestCase Formatter
Instance Attribute Summary collapse
-
#actions_impl ⇒ Object
readonly
Returns the value of attribute actions_impl.
-
#class_test_name ⇒ Object
readonly
Returns the value of attribute class_test_name.
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
Instance Attribute Details
#actions_impl ⇒ Object (readonly)
Returns the value of attribute actions_impl.
7 8 9 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 7 def actions_impl @actions_impl end |
#class_test_name ⇒ Object (readonly)
Returns the value of attribute class_test_name.
8 9 10 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 8 def class_test_name @class_test_name end |
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name.
7 8 9 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 7 def file_name @file_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 7 def name @name end |
#object ⇒ Object
Returns the value of attribute object.
6 7 8 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 6 def object @object end |
Instance Method Details
#generate(&block) ⇒ Object
28 29 30 |
# File 'lib/ios_gen/generator/objc/xctestcase_formatter.rb', line 28 def generate(&block) block.call(file_name, 'templates/objc/XCTestCase.m.erb') end |