Class: BacklogKit::ResourceFile

Inherits:
Object
  • Object
show all
Defined in:
lib/backlog_kit/resource_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, content) ⇒ ResourceFile

Returns a new instance of ResourceFile.



5
6
7
8
# File 'lib/backlog_kit/resource_file.rb', line 5

def initialize(filename, content)
  @filename = filename
  @content  = content
end

Instance Attribute Details

#contentObject

Returns the value of attribute content.



3
4
5
# File 'lib/backlog_kit/resource_file.rb', line 3

def content
  @content
end

#filenameObject

Returns the value of attribute filename.



3
4
5
# File 'lib/backlog_kit/resource_file.rb', line 3

def filename
  @filename
end