Class: Nidyx::ObjCInterface
- Inherits:
-
ObjCModelBase
- Object
- Mustache
- ObjCModelBase
- Nidyx::ObjCInterface
- Defined in:
- lib/nidyx/objc/interface.rb
Instance Attribute Summary collapse
-
#properties ⇒ Object
Returns the value of attribute properties.
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
-
#initialize(name, options) ⇒ ObjCInterface
constructor
A new instance of ObjCInterface.
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, ) super self.file_name = "#{name}.#{EXT}" self.imports << JSON_MODEL_IMPORT if self.json_model end |
Instance Attribute Details
#properties ⇒ Object
Returns the value of attribute properties.
5 6 7 |
# File 'lib/nidyx/objc/interface.rb', line 5 def properties @properties end |