Class: Nidyx::ObjCInterface

Inherits:
ObjCModelBase show all
Defined in:
lib/nidyx/objc/interface.rb

Instance Attribute Summary collapse

Attributes inherited from ObjCModelBase

#author, #class_forward_declarations, #comments, #file_name, #imports, #json_model, #name, #owner, #project, #protocol_declarations, #protocol_forward_declarations

Instance Method Summary collapse

Methods inherited from ObjCModelBase

#has_class_forward_declarations?, #has_imports?, #has_protocol_declarations?, #has_protocol_forward_declarations?, #json_model?, #no_owner?

Constructor Details

#initialize(name, options) ⇒ ObjCInterface

Returns a new instance of ObjCInterface.



9
10
11
12
13
# File 'lib/nidyx/objc/interface.rb', line 9

def initialize(name, options)
  super
  self.file_name = "#{name}.#{EXT}"
  self.imports << JSON_MODEL_IMPORT if self.json_model
end

Instance Attribute Details

#propertiesObject

Returns the value of attribute properties.



5
6
7
# File 'lib/nidyx/objc/interface.rb', line 5

def properties
  @properties
end