Class: BacklogKit::ResourceFile
- Inherits:
-
Object
- Object
- BacklogKit::ResourceFile
- Defined in:
- lib/backlog_kit/resource_file.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename, content) ⇒ ResourceFile
constructor
A new instance of ResourceFile.
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
#content ⇒ Object
Returns the value of attribute content.
3 4 5 |
# File 'lib/backlog_kit/resource_file.rb', line 3 def content @content end |
#filename ⇒ Object
Returns the value of attribute filename.
3 4 5 |
# File 'lib/backlog_kit/resource_file.rb', line 3 def filename @filename end |