Class: Objctify::Context
- Inherits:
-
Object
- Object
- Objctify::Context
- Defined in:
- lib/objctify/context.rb
Defined Under Namespace
Classes: J2ObjCSettings
Instance Attribute Summary collapse
-
#j2objc_config {|@j2objc_config| ... } ⇒ Object
Returns the value of attribute j2objc_config.
-
#java_sources_param ⇒ Object
Returns the value of attribute java_sources_param.
-
#project_name_param ⇒ Object
Returns the value of attribute project_name_param.
Instance Method Summary collapse
-
#initialize ⇒ Context
constructor
A new instance of Context.
- #java_sources(java_sources) ⇒ Object
- #project_name(project_name) ⇒ Object
Constructor Details
#initialize ⇒ Context
16 17 18 19 |
# File 'lib/objctify/context.rb', line 16 def initialize @j2objc_config = J2ObjCSettings.new @project_name = "" end |
Instance Attribute Details
#j2objc_config {|@j2objc_config| ... } ⇒ Object
Returns the value of attribute j2objc_config.
14 15 16 |
# File 'lib/objctify/context.rb', line 14 def j2objc_config @j2objc_config end |
#java_sources_param ⇒ Object
Returns the value of attribute java_sources_param.
14 15 16 |
# File 'lib/objctify/context.rb', line 14 def java_sources_param @java_sources_param end |
#project_name_param ⇒ Object
Returns the value of attribute project_name_param.
14 15 16 |
# File 'lib/objctify/context.rb', line 14 def project_name_param @project_name_param end |
Instance Method Details
#java_sources(java_sources) ⇒ Object
25 26 27 |
# File 'lib/objctify/context.rb', line 25 def java_sources(java_sources) self.java_sources_param = java_sources end |
#project_name(project_name) ⇒ Object
21 22 23 |
# File 'lib/objctify/context.rb', line 21 def project_name(project_name) self.project_name_param = project_name end |