Class: Eclix::Resources
- Inherits:
-
Object
- Object
- Eclix::Resources
- Defined in:
- lib/eclix/publication_creator.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type = 'webapp', file) ⇒ Resources
constructor
A new instance of Resources.
Constructor Details
#initialize(type = 'webapp', file) ⇒ Resources
Returns a new instance of Resources.
135 136 137 138 |
# File 'lib/eclix/publication_creator.rb', line 135 def initialize(type='webapp', file) @type=type @file=file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
134 135 136 |
# File 'lib/eclix/publication_creator.rb', line 134 def file @file end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
134 135 136 |
# File 'lib/eclix/publication_creator.rb', line 134 def type @type end |