Class: Eclix::Resources

Inherits:
Object
  • Object
show all
Defined in:
lib/eclix/publication_creator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject (readonly)

Returns the value of attribute file.



134
135
136
# File 'lib/eclix/publication_creator.rb', line 134

def file
  @file
end

#typeObject (readonly)

Returns the value of attribute type.



134
135
136
# File 'lib/eclix/publication_creator.rb', line 134

def type
  @type
end