Class: IOSGen::Generator::Objc::XctestcaseFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/ios_gen/generator/objc/xctestcase_formatter.rb

Overview

Objetive-C XCTestCase Formatter

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actions_implObject (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_nameObject (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_nameObject (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

#nameObject (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

#objectObject

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