Class: Lfs::FileTransformer::Result
- Inherits:
-
Object
- Object
- Lfs::FileTransformer::Result
- Defined in:
- app/services/lfs/file_transformer.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#encoding ⇒ Object
readonly
Returns the value of attribute encoding.
Instance Method Summary collapse
-
#initialize(content:, encoding:) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(content:, encoding:) ⇒ Result
Returns a new instance of Result.
49 50 51 52 |
# File 'app/services/lfs/file_transformer.rb', line 49 def initialize(content:, encoding:) @content = content @encoding = encoding end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
47 48 49 |
# File 'app/services/lfs/file_transformer.rb', line 47 def content @content end |
#encoding ⇒ Object (readonly)
Returns the value of attribute encoding.
47 48 49 |
# File 'app/services/lfs/file_transformer.rb', line 47 def encoding @encoding end |